Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | # Ensure that strace -f works. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | check_strace | ||||
8 | check_prog timeout | ||||
9 | time=/usr/bin/time | ||||
10 | check_prog $time | ||||
11 | |||||
12 | timeout -s 9 9 \ | ||||
13 | $STRACE -f $time /bin/ls > check.log 2>&1 || | ||||
14 | { cat check.log; fail_ 'strace -f does not work'; } |