summaryrefslogtreecommitdiff
path: root/tests/05-sim-long_jumps.tests
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2013-02-06 11:31:45 -0500
committerPaul Moore <pmoore@redhat.com>2013-02-07 10:12:22 -0500
commit50f8b6261416a8f92329e4e9d2c1ae2a044d3707 (patch)
treefaedfb3edc12c864407c9850d68b61d488fa762a /tests/05-sim-long_jumps.tests
parentf8cfd96455081b70b4a5d91e1972c9055b46a5e0 (diff)
downloadlibseccomp-50f8b6261416a8f92329e4e9d2c1ae2a044d3707.tar.gz
tests: rename the tests to make it clear which are simulator/basic/live based
This patch only renames files, it makes not changes to the content. Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tests/05-sim-long_jumps.tests')
-rw-r--r--tests/05-sim-long_jumps.tests32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/05-sim-long_jumps.tests b/tests/05-sim-long_jumps.tests
new file mode 100644
index 0000000..bbdeaa1
--- /dev/null
+++ b/tests/05-sim-long_jumps.tests
@@ -0,0 +1,32 @@
+#
+# 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
+05-sim-long_jumps all 1 1 2 3 4 5 6 ALLOW
+05-sim-long_jumps all 2 N N N N N N KILL
+05-sim-long_jumps all 999 N N N N N N KILL
+05-sim-long_jumps x86 1000 0-5 0x856B008 0x7FFFFFFE N N N ALLOW
+05-sim-long_jumps x86_64 1000 0-5 0x856B008 0x7FFFFFFFFFFFFFFE N N N ALLOW
+05-sim-long_jumps x86 1000 95-99 0x856B008 0x7FFFFFFE N N N ALLOW
+05-sim-long_jumps x86_64 1000 95-99 0x856B008 0x7FFFFFFFFFFFFFFE N N N ALLOW
+05-sim-long_jumps x86 1000 100 0x856B008 0x7FFFFFFE N N N KILL
+05-sim-long_jumps x86_64 1000 100 0x856B008 0x7FFFFFFFFFFFFFFE N N N KILL
+05-sim-long_jumps all 1001 N N N N N N KILL
+05-sim-long_jumps all 99 1 N N N N N KILL
+05-sim-long_jumps all 100-105 1 N N N N N ALLOW
+05-sim-long_jumps all 195-199 1 N N N N N ALLOW
+05-sim-long_jumps all 200 1 N N N N N KILL
+05-sim-long_jumps all 3 N N N N N N KILL
+05-sim-long_jumps all 4 1 2 3 4 5 6 ALLOW
+05-sim-long_jumps all 5 N N N N N N KILL
+
+test type: bpf-sim-fuzz
+
+# Testname StressCount
+05-sim-long_jumps 50