strace/tests/msg_name.test
Dmitry V. Levin 0b2cf813d7 tests: check decoding of msghdr.msg_name* arguments of recvmsg syscall
* tests/msg_name.c: New file.
* tests/msg_name.test: New test.
* tests/.gitignore: Add msg_name.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add msg_name.test.
2016-07-13 22:45:04 +00:00

7 lines
154 B
Bash
Executable File

#!/bin/sh
# Check decoding of struct msghdr.msg_name* arguments of recvmsg syscall.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a20 -e trace=recvmsg