strace/tests/unix-pair-sendto-recvfrom.test
Dmitry V. Levin 1991ee94bc 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.
2016-07-19 17:46:33 +00:00

12 lines
250 B
Bash
Executable File

#!/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