5 . "${srcdir=.}/init.sh"
7 run_prog_skip_if_failed \
10 ../set_ptracer_any ../sleep 1 > "$OUT" &
13 while ! [ -s "$OUT" ]; do
14 kill -0 $tracee_pid 2> /dev/null ||
15 fail_ 'set_ptracer_any sleep failed'
19 run_strace -a14 -eexit_group -ff -p $tracee_pid
21 # check that output matches
22 match_diff "$LOG.$tracee_pid"
24 # check that no other output files have been created
26 [ "$LOG.$tracee_pid" = "$*" ] ||
27 fail_ "too many output files: $*"
29 rm -f "$OUT" "$LOG.$tracee_pid"