summaryrefslogtreecommitdiff
path: root/tests/23-sim-arch_all_basic.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/23-sim-arch_all_basic.tests')
-rw-r--r--tests/23-sim-arch_all_basic.tests23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/23-sim-arch_all_basic.tests b/tests/23-sim-arch_all_basic.tests
new file mode 100644
index 0000000..02b3a79
--- /dev/null
+++ b/tests/23-sim-arch_all_basic.tests
@@ -0,0 +1,23 @@
+#
+# libseccomp regression test automation data
+#
+#
+# Copyright (c) 2013 Red Hat <pmoore@redhat.com>
+# Author: Paul Moore <pmoore@redhat.com
+#
+
+test type: bpf-sim
+
+# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result
+23-sim-arch_all_basic +all read 0 0x856B008 10 N N N ALLOW
+23-sim-arch_all_basic +all read 1-10 0x856B008 10 N N N KILL
+23-sim-arch_all_basic +all write 1-2 0x856B008 10 N N N ALLOW
+23-sim-arch_all_basic +all write 3-10 0x856B008 10 N N N KILL
+23-sim-arch_all_basic +all close N N N N N N ALLOW
+23-sim-arch_all_basic +all rt_sigreturn N N N N N N ALLOW
+23-sim-arch_all_basic +all open 0x856B008 4 N N N N KILL
+
+test type: bpf-sim-fuzz
+
+# Testname StressCount
+23-sim-arch_all_basic 50