diff options
author | Paul Moore <paul@paul-moore.com> | 2019-11-05 09:00:18 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-11-13 20:35:58 -0500 |
commit | 3bae8850487eaad54fccbf206516b269f330b08f (patch) | |
tree | ad9934b95e68253ae13fb69647d9698ca006daee /tests/52-basic-load.tests | |
parent | c46f7bfdcd038e8b36efbeff831cd497fc373394 (diff) | |
download | libseccomp-3bae8850487eaad54fccbf206516b269f330b08f.tar.gz |
tests: introduce a simple seccomp_load() test as part of the non-live tests
This is a bit controversial as historically we've refrained from
doing any tests that rely on the host kernel in the non-live tests,
but I think enough time has past that we can do a simple
seccomp_load() and not break the world's build/test platforms.
The obvious big advantage is we are now testing the basic
prctl()/seccomp() filter load infrastructure as part of the main
regression test run.
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests/52-basic-load.tests')
-rw-r--r-- | tests/52-basic-load.tests | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/52-basic-load.tests b/tests/52-basic-load.tests new file mode 100644 index 0000000..510e2d3 --- /dev/null +++ b/tests/52-basic-load.tests @@ -0,0 +1,11 @@ +# +# libseccomp regression test automation data +# +# Copyright (c) 2013 Red Hat <pmoore@redhat.com> +# Author: Paul Moore <paul@paul-moore.com> +# + +test type: basic + +# Test command +52-basic-load |