strace/tests/unix-pair-send-recv.test
Dmitry V. Levin 374dc48dbd tests: check decoding and dumping of send and recv syscalls
* tests/unix-pair-send-recv.c: New file.
* tests/unix-pair-send-recv.expected: Likewise.
* tests/unix-pair-send-recv.test: New test.
* tests/.gitignore: Add unix-pair-send-recv.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add unix-pair-send-recv.test.
(EXTRA_DIST): Add unix-pair-send-recv.expected.
2016-07-19 17:46:33 +00:00

12 lines
237 B
Bash
Executable File

#!/bin/sh
# Check decoding and dumping of send and recv syscalls.
. "${srcdir=.}/init.sh"
run_prog ./unix-pair-send-recv abcdefghijklmnopqrstuvwxyz
run_strace -a32 -esignal=none -esend,recv -eread=0 -ewrite=0 $args
match_diff
exit 0