strace/tests/strace-f.test
Dmitry V. Levin 123d401508 tests: rename all tests so that their names end in .test suffix
Due to automake limitations, some features work only for tests
that end in one of the suffixes listed in TEST_EXTENSIONS.

* tests/detach-running: Rename to detach-running.test.
* tests/detach-sleeping: Rename to detach-sleeping.test.
* tests/detach-stopped: Rename to detach-stopped.test.
* tests/net: Rename to net.test.
* tests/ptrace_setoptions: Rename to ptrace_setoptions.test.
* tests/qual_syscall: Rename to qual_syscall.test.
* tests/sigaction.sh: Rename to sigaction.test.
* tests/stat: Rename to stat.test.
* tests/strace-f: Rename to strace-f.test.
* tests/Makefile.am (TESTS): Update.
(LOG_COMPILER): Rename to TEST_LOG_COMPILER.
2014-02-02 16:49:41 +00:00

12 lines
193 B
Bash
Executable File

#!/bin/sh
# Ensure that strace -f works.
. "${srcdir=.}/init.sh"
time=/usr/bin/time
check_prog $time
$STRACE -f $time /bin/ls > $LOG 2>&1 ||
{ cat $LOG; fail_ 'strace -f does not work'; }