diff options
author | Paul Moore <paul@paul-moore.com> | 2019-04-17 16:36:57 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-04-17 16:36:57 -0400 |
commit | 2b603da7217dfb10e06495d1cdae3512d92965a8 (patch) | |
tree | f7557c768d4012706178db9526168abdc8c6fe42 /tests | |
parent | 7d530d309c894c4a3beaa78529821dd87611111b (diff) | |
download | libseccomp-2b603da7217dfb10e06495d1cdae3512d92965a8.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>
Diffstat (limited to 'tests')
-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) |