summaryrefslogtreecommitdiff
path: root/tests/strace-f.test
blob: 0c4622c5e0a851a04ea4ff2ab0c7607a34a40c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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'; }