]> git.proxmox.com Git - mirror_libseccomp.git/commitdiff
tests: only run test 50 on x86_64
authorPaul Moore <paul@paul-moore.com>
Wed, 17 Apr 2019 20:36:57 +0000 (16:36 -0400)
committerPaul Moore <paul@paul-moore.com>
Wed, 17 Apr 2019 20:36:57 +0000 (16:36 -0400)
Because of the way libseccomp handles non-native arch translations we
can't use arbitrary syscalls, e.g. 1000; we need to use syscalls that
are defined in the libseccomp syscall tables.  Unfortunately, changing
the syscalls from 1000/1001 to a defined syscall appears to break the
test so let's just limit it to x86_64 for now.

Signed-off-by: Paul Moore <paul@paul-moore.com>
tests/50-sim-hash_collision.tests

index d52d8073ae65037f19a26ec8900142ffe92391b9..f63f6f4dfeb35e73f43f24f6e12178658fcfdf57 100644 (file)
@@ -8,11 +8,11 @@
 test type: bpf-sim
 
 # Testname             Arch    Syscall         Arg0    Arg1    Arg2    Arg3    Arg4    Arg5    Result
-50-sim-hash_collision  +x86_64 1000            1       N       N       N       N       N       ALLOW
-50-sim-hash_collision  +x86_64 1000            2       N       N       N       N       N       ALLOW
-50-sim-hash_collision  +x86_64 1000            3       N       N       N       N       N       ERRNO(100)
-50-sim-hash_collision  +x86_64 1001            1       2       3       N       N       N       ALLOW
-50-sim-hash_collision  +x86_64 1001            1       1       N       N       N       N       ALLOW
-50-sim-hash_collision  +x86_64 1001            2       N       N       N       N       N       ERRNO(100)
-50-sim-hash_collision  +x86_64 1001            1       3       N       N       N       N       ERRNO(100)
-50-sim-hash_collision  +x86_64 1001            1       2       4       N       N       N       ERRNO(100)
+50-sim-hash_collision  x86_64 1000             1       N       N       N       N       N       ALLOW
+50-sim-hash_collision  x86_64 1000             2       N       N       N       N       N       ALLOW
+50-sim-hash_collision  x86_64 1000             3       N       N       N       N       N       ERRNO(100)
+50-sim-hash_collision  x86_64 1001             1       2       3       N       N       N       ALLOW
+50-sim-hash_collision  x86_64 1001             1       1       N       N       N       N       ALLOW
+50-sim-hash_collision  x86_64 1001             2       N       N       N       N       N       ERRNO(100)
+50-sim-hash_collision  x86_64 1001             1       3       N       N       N       N       ERRNO(100)
+50-sim-hash_collision  x86_64 1001             1       2       4       N       N       N       ERRNO(100)