Skip to content

Commit

Permalink
tests: only run test 50 on x86_64
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pcmoore committed Apr 17, 2019
1 parent fef951a commit d3a6775
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/50-sim-hash_collision.tests
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d3a6775

Please sign in to comment.