Dmitry V. Levin
374dc48dbd
* 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.
12 lines
237 B
Bash
Executable File
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
|