From d3a67757c38766546132d6dc7a784cb0e478c0a5 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Wed, 17 Apr 2019 16:39:41 -0400 Subject: [PATCH] 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 --- tests/50-sim-hash_collision.tests | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/50-sim-hash_collision.tests b/tests/50-sim-hash_collision.tests index d52d8073..f63f6f4d 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)