From 181806136e82c524b21059a5781b00c50be9d634 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 11 Apr 2016 15:16:30 +0000 Subject: [PATCH] tests: rename seccomp.test to prctl-seccomp-filter-v.test * tests/.gitignore: Replace seccomp with prctl-seccomp-filter-v. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Replace seccomp.test with prctl-seccomp-filter-v.test. * tests/seccomp.c: Rename to tests/prctl-seccomp-filter-v.c. * tests/seccomp.test: Rename to tests/prctl-seccomp-filter-v.test. --- tests/.gitignore | 2 +- tests/Makefile.am | 4 ++-- tests/{seccomp.c => prctl-seccomp-filter-v.c} | 2 ++ tests/{seccomp.test => prctl-seccomp-filter-v.test} | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) rename tests/{seccomp.c => prctl-seccomp-filter-v.c} (98%) rename tests/{seccomp.test => prctl-seccomp-filter-v.test} (52%) diff --git a/tests/.gitignore b/tests/.gitignore index 12b0c533..01b62362 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -100,6 +100,7 @@ personality pipe poll ppoll +prctl-seccomp-filter-v prctl-seccomp-strict pread64-pwrite64 preadv @@ -127,7 +128,6 @@ sched_xetattr sched_xetparam sched_xetscheduler scm_rights -seccomp seccomp-strict select sendfile diff --git a/tests/Makefile.am b/tests/Makefile.am index 1e492f53..95720154 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -149,6 +149,7 @@ check_PROGRAMS = \ pipe \ poll \ ppoll \ + prctl-seccomp-filter-v \ prctl-seccomp-strict \ pread64-pwrite64 \ preadv \ @@ -176,7 +177,6 @@ check_PROGRAMS = \ sched_xetparam \ sched_xetscheduler \ scm_rights \ - seccomp \ seccomp-strict \ select \ sendfile \ @@ -348,6 +348,7 @@ DECODER_TESTS = \ pipe.test \ poll.test \ ppoll.test \ + prctl-seccomp-filter-v.test \ prctl-seccomp-strict.test \ pread64-pwrite64.test \ preadv-pwritev.test \ @@ -375,7 +376,6 @@ DECODER_TESTS = \ sched_xetscheduler.test \ scm_rights-fd.test \ seccomp-strict.test \ - seccomp.test \ select.test \ sendfile.test \ sendfile64.test \ diff --git a/tests/seccomp.c b/tests/prctl-seccomp-filter-v.c similarity index 98% rename from tests/seccomp.c rename to tests/prctl-seccomp-filter-v.c index f8d1370e..cb70dac9 100644 --- a/tests/seccomp.c +++ b/tests/prctl-seccomp-filter-v.c @@ -1,4 +1,6 @@ /* + * Check verbose decoding of prctl PR_SET_SECCOMP SECCOMP_MODE_FILTER. + * * Copyright (c) 2015-2016 Dmitry V. Levin * All rights reserved. * diff --git a/tests/seccomp.test b/tests/prctl-seccomp-filter-v.test similarity index 52% rename from tests/seccomp.test rename to tests/prctl-seccomp-filter-v.test index 1c9579ac..84dfeab5 100755 --- a/tests/seccomp.test +++ b/tests/prctl-seccomp-filter-v.test @@ -1,6 +1,6 @@ #!/bin/sh -# Check how SECCOMP_MODE_FILTER is decoded. +# Check verbose decoding of prctl PR_SET_SECCOMP SECCOMP_MODE_FILTER. . "${srcdir=.}/init.sh" run_strace_match_diff -v -e trace=prctl -- 2.40.0