strace/tests/ppoll.test
Dmitry V. Levin d9fb450748 Cleanup poll/ppoll decoders
* poll.c (decode_poll): Split into print_pollfd, decode_poll_entering,
and decode_poll_exiting.
(sys_poll, sys_ppoll): Update callers.
* tests/ppoll.c: New file.
* tests/ppoll.expected: Likewise.
* tests/ppoll-v.expected: Likewise.
* tests/ppoll.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add ppoll.
(TESTS): Add ppoll.test.
(EXTRA_DIST): Add ppoll.expected and ppoll-v.expected.
* tests/.gitignore: Add ppoll.
2015-07-30 22:03:07 +00:00

14 lines
212 B
Bash
Executable File

#!/bin/sh
# Check ppoll syscall decoding.
. "${srcdir=.}/init.sh"
run_prog
run_strace -s2 -e ppoll $args
match_grep
run_strace -v -s2 -e ppoll $args
match_grep "$LOG" "$srcdir/${ME_%.test}-v.expected"
exit 0