]> granicus.if.org Git - strace/blob - tests/run.sh
tests: ensure that strace can detach from sleeping and stopped processes
[strace] / tests / run.sh
1 #!/bin/sh
2
3 . "${srcdir=.}/init.sh"
4
5 $STRACE -V > /dev/null ||
6         framework_failure_ "$STRACE is not available"
7
8 TIMEOUT="timeout -s 9 $TIMEOUT_DURATION"
9 $TIMEOUT true > /dev/null 2>&1 ||
10         TIMEOUT=
11
12 exec $TIMEOUT "$@"