strace/tests/count-f.test
Dmitry V. Levin b389028e08 tests: add count-f.test
* tests/count-f.c: New file.
* tests/count-f.expected: Likewise.
* tests/count-f.test: New test.
* tests/.gitignore: Add count-f.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(count_f_LDADD): New variable.
(EXTRA_DIST): Add count-f.expected.
(TESTS): Add count-f.test.
2016-03-12 23:52:52 +00:00

12 lines
151 B
Bash
Executable File

#!/bin/sh
# Check whether -c counts through forks and clones properly
. "${srcdir=.}/init.sh"
run_prog
run_strace -q -f -c $args
match_grep
exit 0