strace/tests/strace-r.test
Dmitry V. Levin e10ab4cdbc tests: add strace-r.test
* tests/strace-r.expected: New file.
* tests/strace-r.test: New test.
* tests/Makefile.am (MISC_TESTS): Add it.
(EXTRA_DIST): Add strace-r.expected.
2016-03-24 01:27:03 +00:00

10 lines
119 B
Bash
Executable File

#!/bin/sh
# Check -r option.
. "${srcdir=.}/init.sh"
run_prog ./sleep 0
run_strace -r -eexecve ./sleep 1
match_grep