| 1 | #!/bin/shscip-shell filesystem . . `/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/timescip-shell filesystem . . `/usr/bin/time`. |
| 10 | check_prog $time |
| 11 | |
| 12 | timeoutscip-shell system . . timeout. -s 9 9 \ |
| 13 | $STRACE -f $time /bin/lsscip-shell filesystem . . `/bin/ls`. > check.log 2>&1 || |
| 14 | { catscip-shell system . . cat. check.log; fail_ 'strace -f does not work'; } |