summaryrefslogtreecommitdiffstats
path: root/tests/08-sim-subtree_checks.tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:09:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:09:30 +0000
commit81749f1fe87e489c4e2e7408a0fae9370c3810b3 (patch)
tree2d1345a5762855b6577495d90ac134c4e92d7ff8 /tests/08-sim-subtree_checks.tests
parentInitial commit. (diff)
downloadlibseccomp-81749f1fe87e489c4e2e7408a0fae9370c3810b3.tar.xz
libseccomp-81749f1fe87e489c4e2e7408a0fae9370c3810b3.zip
Adding upstream version 2.5.5.upstream/2.5.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/08-sim-subtree_checks.tests')
-rw-r--r--tests/08-sim-subtree_checks.tests47
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/08-sim-subtree_checks.tests b/tests/08-sim-subtree_checks.tests
new file mode 100644
index 0000000..6c29c21
--- /dev/null
+++ b/tests/08-sim-subtree_checks.tests
@@ -0,0 +1,47 @@
+#
+# libseccomp regression test automation data
+#
+# Copyright IBM Corp. 2012
+# Author: Corey Bryant <coreyb@linux.vnet.ibm.com>
+#
+
+test type: bpf-sim
+
+# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result
+08-sim-subtree_checks all,-x32 1000 0-10 1 N N N N ALLOW
+08-sim-subtree_checks all,-x32 1000 0-10 0 N N N N KILL
+08-sim-subtree_checks all,-x32 1001 0-10 1 N N N N ALLOW
+08-sim-subtree_checks all,-x32 1001 0-10 0 N N N N KILL
+08-sim-subtree_checks all,-x32 1002 0-5 1 2 0-5 N N ALLOW
+08-sim-subtree_checks all,-x32 1002 0-5 2 1 0-5 N N KILL
+08-sim-subtree_checks all,-x32 1003 0-5 1 2 0-5 N N ALLOW
+08-sim-subtree_checks all,-x32 1003 0-5 2 1 0-5 N N KILL
+08-sim-subtree_checks all,-x32 1004 0 11 5-10 10 10 1-5 ALLOW
+08-sim-subtree_checks all,-x32 1004 0 1 2 0-5 N N ALLOW
+08-sim-subtree_checks all,-x32 1004 1-5 1 2 0-5 N N ALLOW
+08-sim-subtree_checks all,-x32 1004 1-5 1 2 30-35 N N ALLOW
+08-sim-subtree_checks all,-x32 1004 1-5 2 1 30-35 N N KILL
+08-sim-subtree_checks all,-x32 1005 0 11 5-10 10 10 1-5 ALLOW
+08-sim-subtree_checks all,-x32 1005 0 1 2 0-5 N N ALLOW
+08-sim-subtree_checks all,-x32 1005 1-5 1 2 0-5 N N ALLOW
+08-sim-subtree_checks all,-x32 1005 1-5 1 2 30-35 N N ALLOW
+08-sim-subtree_checks all,-x32 1005 1-5 2 1 30-35 N N KILL
+08-sim-subtree_checks all,-x32 1006 0-10 1 2 N N N ALLOW
+08-sim-subtree_checks all,-x32 1006 0-10 1 3 N N N KILL
+08-sim-subtree_checks all,-x32 1006 10 2-100 2 N N N ALLOW
+08-sim-subtree_checks all,-x32 1007 0 0 2 3 N N TRAP
+08-sim-subtree_checks all,-x32 1007 1 1 1 0-2 1 1 ALLOW
+08-sim-subtree_checks all,-x32 1007 1 1 2 0-2 1 1 ALLOW
+08-sim-subtree_checks all,-x32 1007 1 1 2 4-6 1 1 ALLOW
+08-sim-subtree_checks all,-x32 1007 1 1 0 3 1 1 KILL
+
+test type: bpf-sim-fuzz
+
+# Testname StressCount
+08-sim-subtree_checks 50
+
+
+test type: bpf-valgrind
+
+# Testname
+08-sim-subtree_checks