blob: d1e06344ef2c763282c90c8bd09366d0a0e81ab2 [file] [log] [blame]
#!/bin/sh
# Check -ff option.
. "${srcdir=.}/init.sh"
rm -f "$LOG".*
./set_ptracer_any ./sleep 1 > /dev/null &
PID=$!
run_strace -a14 -eexit_group -ff -p $PID
# check that output matches
match_diff "$LOG.$PID"
# check that no other output files have been created
set -- "$LOG".*
[ "$LOG.$PID" = "$*" ] ||
fail_ "too many output files: $*"
rm -f "$LOG.$PID"