summaryrefslogtreecommitdiff
path: root/tests/05-sim-long_jumps.tests
diff options
context:
space:
mode:
authorroot <root@test-gentoo_x32-1.lan>2019-03-04 16:17:50 -0500
committerPaul Moore <paul@paul-moore.com>2019-03-04 16:17:50 -0500
commitf5ff93c6c912e35be9b6cc5c302a5e2e85c33902 (patch)
treee4016a9a2914286baa6b6236de55d152446fb5d8 /tests/05-sim-long_jumps.tests
parent73ccc03f897abe7751ee1a89deb8ce467704b82e (diff)
downloadlibseccomp-f5ff93c6c912e35be9b6cc5c302a5e2e85c33902.tar.gz
tests: disable a number of tests on the x32 arch
Unfortunately a number of our automated tests fail because of the x32 syscall bit, making low numbered syscalls invalid. Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tests/05-sim-long_jumps.tests')
-rw-r--r--tests/05-sim-long_jumps.tests36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/05-sim-long_jumps.tests b/tests/05-sim-long_jumps.tests
index 03eb6d9..ea1fc52 100644
--- a/tests/05-sim-long_jumps.tests
+++ b/tests/05-sim-long_jumps.tests
@@ -7,24 +7,24 @@
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
+# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result
+05-sim-long_jumps all,-x32 1 1 2 3 4 5 6 ALLOW
+05-sim-long_jumps all,-x32 2 N N N N N N KILL
+05-sim-long_jumps all,-x32 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,-x32 1001 N N N N N N KILL
+05-sim-long_jumps all,-x32 99 1 N N N N N KILL
+05-sim-long_jumps all,-x32 100-105 1 N N N N N ALLOW
+05-sim-long_jumps all,-x32 195-199 1 N N N N N ALLOW
+05-sim-long_jumps all,-x32 200 1 N N N N N KILL
+05-sim-long_jumps all,-x32 3 N N N N N N KILL
+05-sim-long_jumps all,-x32 4 1 2 3 4 5 6 ALLOW
+05-sim-long_jumps all,-x32 5 N N N N N N KILL
test type: bpf-sim-fuzz