strace/tests/wait.test
Dmitry V. Levin cde9ef7183 tests: add wait.test
* tests/wait.c: New file.
* tests/wait.expected: Likewise.
* tests/wait.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add wait.
(TESTS): Add wait.test.
(EXTRA_DIST): Add wait.expected.
* tests/.gitignore: Add wait.
2015-08-28 08:46:23 +00:00

12 lines
145 B
Bash
Executable File

#!/bin/sh
# Check wait4 and waitid syscalls decoding.
. "${srcdir=.}/init.sh"
run_prog
run_strace -v -e wait4,waitid $args
match_grep
exit 0