diff options
author | Paul Moore <pmoore@redhat.com> | 2014-04-15 18:56:44 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-04-16 16:36:16 -0400 |
commit | b969e4405c3c27d42937c0ba2fdb3e5fac0e5982 (patch) | |
tree | 47ae84e7f2e02a4abce3c6ccdd4c0cd047db594f /tests/16-sim-arch_basic.tests | |
parent | b850d62fefca24446f1cb5558d7154cee0985431 (diff) | |
download | libseccomp-b969e4405c3c27d42937c0ba2fdb3e5fac0e5982.tar.gz |
tests: support both big and little endian test architectures
Replace the "+all" architecture tokens in the test files with the
"+all_le" and "+all_be" tokens to represent all the little endian and
big endian architectures respectively.
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tests/16-sim-arch_basic.tests')
-rw-r--r-- | tests/16-sim-arch_basic.tests | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/16-sim-arch_basic.tests b/tests/16-sim-arch_basic.tests index 39917b5..f0d8086 100644 --- a/tests/16-sim-arch_basic.tests +++ b/tests/16-sim-arch_basic.tests @@ -8,12 +8,12 @@ test type: bpf-sim # Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result -16-sim-arch_basic +all read 0 0x856B008 10 N N N ALLOW -16-sim-arch_basic +all read 1-10 0x856B008 10 N N N KILL -16-sim-arch_basic +all write 1-2 0x856B008 10 N N N ALLOW -16-sim-arch_basic +all write 3-10 0x856B008 10 N N N KILL -16-sim-arch_basic +all close N N N N N N ALLOW -16-sim-arch_basic +all open 0x856B008 4 N N N N KILL +16-sim-arch_basic +all_le read 0 0x856B008 10 N N N ALLOW +16-sim-arch_basic +all_le read 1-10 0x856B008 10 N N N KILL +16-sim-arch_basic +all_le write 1-2 0x856B008 10 N N N ALLOW +16-sim-arch_basic +all_le write 3-10 0x856B008 10 N N N KILL +16-sim-arch_basic +all_le close N N N N N N ALLOW +16-sim-arch_basic +all_le open 0x856B008 4 N N N N KILL 16-sim-arch_basic +x86 socket 1 N N N N N ALLOW 16-sim-arch_basic +x86 connect 3 N N N N N ALLOW 16-sim-arch_basic +x86 shutdown 13 N N N N N ALLOW |