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.
diff --git a/tests/.gitignore b/tests/.gitignore
index 12b0c53..01b6236 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -100,6 +100,7 @@
pipe
poll
ppoll
+prctl-seccomp-filter-v
prctl-seccomp-strict
pread64-pwrite64
preadv
@@ -127,7 +128,6 @@
sched_xetparam
sched_xetscheduler
scm_rights
-seccomp
seccomp-strict
select
sendfile
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1e492f5..9572015 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -149,6 +149,7 @@
pipe \
poll \
ppoll \
+ prctl-seccomp-filter-v \
prctl-seccomp-strict \
pread64-pwrite64 \
preadv \
@@ -176,7 +177,6 @@
sched_xetparam \
sched_xetscheduler \
scm_rights \
- seccomp \
seccomp-strict \
select \
sendfile \
@@ -348,6 +348,7 @@
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 @@
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 97%
rename from tests/seccomp.c
rename to tests/prctl-seccomp-filter-v.c
index f8d1370..cb70dac 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 <ldv@altlinux.org>
* All rights reserved.
*
diff --git a/tests/prctl-seccomp-filter-v.test b/tests/prctl-seccomp-filter-v.test
new file mode 100755
index 0000000..84dfeab
--- /dev/null
+++ b/tests/prctl-seccomp-filter-v.test
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Check verbose decoding of prctl PR_SET_SECCOMP SECCOMP_MODE_FILTER.
+
+. "${srcdir=.}/init.sh"
+run_strace_match_diff -v -e trace=prctl
diff --git a/tests/seccomp.test b/tests/seccomp.test
deleted file mode 100755
index 1c9579a..0000000
--- a/tests/seccomp.test
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# Check how SECCOMP_MODE_FILTER is decoded.
-
-. "${srcdir=.}/init.sh"
-run_strace_match_diff -v -e trace=prctl