Files
mckernel/test/strace/strace-bundle/strace-f
2017-11-25 14:35:17 +09:00

15 lines
266 B
Bash
Executable File

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