This test is for little endian architectures, so we rename it to make that clear. This is in preparation for a new test, identical to this one, which will test big-endian architectures.
Signed-off-by: Markos Chandras <[email protected]> --- tests/23-sim-arch_all_basic.tests | 23 ---------------------- ...arch_all_basic.c => 23-sim-arch_all_le_basic.c} | 0 ...ch_all_basic.py => 23-sim-arch_all_le_basic.py} | 0 tests/23-sim-arch_all_le_basic.tests | 23 ++++++++++++++++++++++ tests/Makefile | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 tests/23-sim-arch_all_basic.tests rename tests/{23-sim-arch_all_basic.c => 23-sim-arch_all_le_basic.c} (100%) rename tests/{23-sim-arch_all_basic.py => 23-sim-arch_all_le_basic.py} (100%) create mode 100644 tests/23-sim-arch_all_le_basic.tests diff --git a/tests/23-sim-arch_all_basic.tests b/tests/23-sim-arch_all_basic.tests deleted file mode 100644 index 9c789e3..0000000 --- a/tests/23-sim-arch_all_basic.tests +++ /dev/null @@ -1,23 +0,0 @@ -# -# libseccomp regression test automation data -# -# -# Copyright (c) 2013 Red Hat <[email protected]> -# Author: Paul Moore <[email protected] -# - -test type: bpf-sim - -# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result -23-sim-arch_all_basic +all_le read 0 0x856B008 10 N N N ALLOW -23-sim-arch_all_basic +all_le read 1-10 0x856B008 10 N N N KILL -23-sim-arch_all_basic +all_le write 1-2 0x856B008 10 N N N ALLOW -23-sim-arch_all_basic +all_le write 3-10 0x856B008 10 N N N KILL -23-sim-arch_all_basic +all_le close N N N N N N ALLOW -23-sim-arch_all_basic +all_le rt_sigreturn N N N N N N ALLOW -23-sim-arch_all_basic +all_le open 0x856B008 4 N N N N KILL - -test type: bpf-valgrind - -# Testname -23-sim-arch_all_basic diff --git a/tests/23-sim-arch_all_basic.c b/tests/23-sim-arch_all_le_basic.c similarity index 100% rename from tests/23-sim-arch_all_basic.c rename to tests/23-sim-arch_all_le_basic.c diff --git a/tests/23-sim-arch_all_basic.py b/tests/23-sim-arch_all_le_basic.py similarity index 100% rename from tests/23-sim-arch_all_basic.py rename to tests/23-sim-arch_all_le_basic.py diff --git a/tests/23-sim-arch_all_le_basic.tests b/tests/23-sim-arch_all_le_basic.tests new file mode 100644 index 0000000..f65ce79 --- /dev/null +++ b/tests/23-sim-arch_all_le_basic.tests @@ -0,0 +1,23 @@ +# +# libseccomp regression test automation data +# +# +# Copyright (c) 2013 Red Hat <[email protected]> +# Author: Paul Moore <[email protected] +# + +test type: bpf-sim + +# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result +23-sim-arch_all_le_basic +all_le read 0 0x856B008 10 N N N ALLOW +23-sim-arch_all_le_basic +all_le read 1-10 0x856B008 10 N N N KILL +23-sim-arch_all_le_basic +all_le write 1-2 0x856B008 10 N N N ALLOW +23-sim-arch_all_le_basic +all_le write 3-10 0x856B008 10 N N N KILL +23-sim-arch_all_le_basic +all_le close N N N N N N ALLOW +23-sim-arch_all_le_basic +all_le rt_sigreturn N N N N N N ALLOW +23-sim-arch_all_le_basic +all_le open 0x856B008 4 N N N N KILL + +test type: bpf-valgrind + +# Testname +23-sim-arch_all_le_basic diff --git a/tests/Makefile b/tests/Makefile index ed912b6..70a7d3d 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -60,7 +60,7 @@ TESTS = 01-sim-allow \ 20-live-basic_die \ 21-live-basic_allow \ 22-sim-basic_chains_array \ - 23-sim-arch_all_basic \ + 23-sim-arch_all_le_basic \ 24-live-arg_allow \ 25-sim-multilevel_chains_adv -- 1.9.2 ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ libseccomp-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss
