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.
This commit is contained in:
Дмитрий Левин 2016-07-19 00:00:10 +00:00
parent d95eaefb45
commit 1991ee94bc
6 changed files with 17 additions and 15 deletions

2
tests/.gitignore vendored
View File

@ -282,7 +282,7 @@ umovestr
umovestr2
umovestr3
uname
unix-pair-send-recv
unix-pair-sendto-recvfrom
unlink
unlinkat
userfaultfd

View File

@ -338,7 +338,7 @@ check_PROGRAMS = \
umovestr2 \
umovestr3 \
uname \
unix-pair-send-recv \
unix-pair-sendto-recvfrom \
unlink \
unlinkat \
userfaultfd \
@ -656,6 +656,7 @@ DECODER_TESTS = \
umovestr2.test \
umovestr3.test \
uname.test \
unix-pair-sendto-recvfrom.test \
unlink.test \
unlinkat.test \
userfaultfd.test \
@ -686,7 +687,6 @@ MISC_TESTS = \
detach-running.test \
detach-sleeping.test \
detach-stopped.test \
dumpio.test \
filter-unavailable.test \
fork-f.test \
ksysent.test \
@ -721,7 +721,6 @@ AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh
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 @@ EXTRA_DIST = init.sh run.sh match.awk \
sun_path.expected \
uio.expected \
umovestr.expected \
unix-pair-sendto-recvfrom.expected \
xchownx.c \
xgetrlimit.c \
xselect.c \

View File

@ -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

View File

@ -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.
*

View File

@ -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