diff options
author | Paul Moore <paul@paul-moore.com> | 2020-01-27 09:38:38 -0700 |
---|---|---|
committer | Tom Hromatka <tom.hromatka@oracle.com> | 2020-02-03 11:09:17 -0700 |
commit | 138299c6bb22f0638dcbf2c2e915270ad66d008c (patch) | |
tree | e2684aab78deaadb97975fd47e9841a1bcc03692 /tests/52-basic-load.tests | |
parent | 31ecb5fa1a7eb0677e73548831a0dcdcbceb415e (diff) | |
download | libseccomp-138299c6bb22f0638dcbf2c2e915270ad66d008c.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>
(cherry picked from commit 3bae8850487eaad54fccbf206516b269f330b08f)
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Conflicts:
tests/.gitignore
tests/Makefile.am
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 |