diff options
author | Paul Moore <paul@paul-moore.com> | 2019-04-17 16:39:41 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-04-17 16:39:54 -0400 |
commit | d3a67757c38766546132d6dc7a784cb0e478c0a5 (patch) | |
tree | 8f31e3a2f84335980324e1b08d9a8e7e9f3af377 | |
parent | fef951a3e7f026bfcfc43191d2ed2074497b89dc (diff) | |
download | libseccomp-d3a67757c38766546132d6dc7a784cb0e478c0a5.tar.gz |
tests: only run test 50 on x86_64
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>
-rw-r--r-- | tests/50-sim-hash_collision.tests | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/50-sim-hash_collision.tests b/tests/50-sim-hash_collision.tests index d52d807..f63f6f4 100644 --- a/tests/50-sim-hash_collision.tests +++ b/tests/50-sim-hash_collision.tests @@ -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) |