1#!/bin/sh 2 3. "${srcdir=.}/init.sh" 4 5$STRACE -V > /dev/null || 6 framework_failure_ "$STRACE is not available" 7 8TIMEOUT="timeout -k 5 -s XCPU $TIMEOUT_DURATION" 9$TIMEOUT true > /dev/null 2>&1 || 10 TIMEOUT= 11 12if [ $# -eq 0 ]; then 13 echo 'No command or test-file specified' >&2 14 exit 1 15fi 16 17exec $TIMEOUT "$@" < /dev/null 18