tests: rename unix-pair-send-recv to unix-pair-sendto-recvfrom
* dumpio.expected: Rename to unix-pair-sendto-recvfrom.expected.
* dumpio.test: Rename to unix-pair-sendto-recvfrom.test.
* unix-pair-send-recv.c: Rename to unix-pair-sendto-recvfrom.c
* .gitignore: Rename unix-pair-send-recv to unix-pair-sendto-recvfrom.
* Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add unix-pair-sendto-recvfrom.test.
(MISC_TESTS): Remove dumpio.test.
(EXTRA_DIST): Rename dumpio.expected
to unix-pair-sendto-recvfrom.expected.
diff --git a/tests/.gitignore b/tests/.gitignore
index cf262bd..68d2f3b 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -282,7 +282,7 @@
umovestr2
umovestr3
uname
-unix-pair-send-recv
+unix-pair-sendto-recvfrom
unlink
unlinkat
userfaultfd
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d507495..18b08f1 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -338,7 +338,7 @@
umovestr2 \
umovestr3 \
uname \
- unix-pair-send-recv \
+ unix-pair-sendto-recvfrom \
unlink \
unlinkat \
userfaultfd \
@@ -656,6 +656,7 @@
umovestr2.test \
umovestr3.test \
uname.test \
+ unix-pair-sendto-recvfrom.test \
unlink.test \
unlinkat.test \
userfaultfd.test \
@@ -686,7 +687,6 @@
detach-running.test \
detach-sleeping.test \
detach-stopped.test \
- dumpio.test \
filter-unavailable.test \
fork-f.test \
ksysent.test \
@@ -721,7 +721,6 @@
EXTRA_DIST = init.sh run.sh match.awk \
caps.awk \
count-f.expected \
- dumpio.expected \
eventfd.expected \
fanotify_mark.expected \
filter-unavailable.expected \
@@ -759,6 +758,7 @@
sun_path.expected \
uio.expected \
umovestr.expected \
+ unix-pair-sendto-recvfrom.expected \
xchownx.c \
xgetrlimit.c \
xselect.c \
diff --git a/tests/dumpio.test b/tests/dumpio.test
deleted file mode 100755
index 8d272fc..0000000
--- a/tests/dumpio.test
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-# Check how dumpio works.
-
-. "${srcdir=.}/init.sh"
-
-run_prog ./unix-pair-send-recv abcdefghijklmnopqrstuvwxyz
-run_strace -esignal=none -esendto,recvfrom -eread=0 -ewrite=0 $args
-match_diff
-
-exit 0
diff --git a/tests/unix-pair-send-recv.c b/tests/unix-pair-sendto-recvfrom.c
similarity index 97%
rename from tests/unix-pair-send-recv.c
rename to tests/unix-pair-sendto-recvfrom.c
index f7d9c39..cea382c 100644
--- a/tests/unix-pair-send-recv.c
+++ b/tests/unix-pair-sendto-recvfrom.c
@@ -1,4 +1,6 @@
/*
+ * Check decoding and dumping of sendto and recvfrom syscalls.
+ *
* Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
* All rights reserved.
*
diff --git a/tests/dumpio.expected b/tests/unix-pair-sendto-recvfrom.expected
similarity index 100%
rename from tests/dumpio.expected
rename to tests/unix-pair-sendto-recvfrom.expected
diff --git a/tests/unix-pair-sendto-recvfrom.test b/tests/unix-pair-sendto-recvfrom.test
new file mode 100755
index 0000000..21afe23
--- /dev/null
+++ b/tests/unix-pair-sendto-recvfrom.test
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Check decoding and dumping of sendto and recvfrom syscalls.
+
+. "${srcdir=.}/init.sh"
+
+run_prog ./unix-pair-sendto-recvfrom abcdefghijklmnopqrstuvwxyz
+run_strace -esignal=none -esendto,recvfrom -eread=0 -ewrite=0 $args
+match_diff
+
+exit 0