3 # Copyright (c) 2013-2018 The strace developers.
6 # SPDX-License-Identifier: GPL-2.0-or-later
8 . "${srcdir=.}/init.sh"
10 $STRACE -V > /dev/null ||
11 framework_failure_ "$STRACE is not available"
13 TIMEOUT="timeout -k 5 -s XCPU $TIMEOUT_DURATION"
14 $TIMEOUT true > /dev/null 2>&1 ||
18 echo 'No command or test-file specified' >&2
22 exec $TIMEOUT "$@" < /dev/null