strace/tests/strace-E.test
Fei Jie ef9900e7c1 tests: add strace-E.test
* tests/strace-E.expected: New file.
* tests/strace-E.test: New test.
* tests/Makefile.am (MISC_TESTS): Add it.
(EXTRA_DIST): Add strace-E.expected.
2016-06-09 01:28:33 +00:00

10 lines
147 B
Bash
Executable File

#!/bin/sh
# Check -E option.
. "${srcdir=.}/init.sh"
run_prog ./sleep 0 > /dev/null
run_strace -E option_E_var=OPTION_E_VAL -v $args
match_grep