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