tests: add strace-ff.test
* tests/strace-ff.test: New test. * tests/Makefile.am (MISC_TESTS): Add it.
This commit is contained in:
parent
a30d02e902
commit
c259f4fd5d
@ -608,6 +608,7 @@ MISC_TESTS = \
|
||||
strace-T.test \
|
||||
strace-V.test \
|
||||
strace-f.test \
|
||||
strace-ff.test \
|
||||
strace-r.test \
|
||||
strace-t.test \
|
||||
strace-tt.test \
|
||||
|
14
tests/strace-ff.test
Executable file
14
tests/strace-ff.test
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Check -ff option.
|
||||
|
||||
. "${srcdir=.}/init.sh"
|
||||
|
||||
./set_ptracer_any ./sleep 1 > /dev/null &
|
||||
PID=$!
|
||||
run_strace -a14 -eexit_group -ff -p $PID
|
||||
printf "exit_group(0) = ?\n+++ exited with 0 +++\n" > "$LOG"
|
||||
|
||||
match_diff "$LOG" "$LOG.$PID"
|
||||
|
||||
rm -f "$LOG".*
|
Loading…
x
Reference in New Issue
Block a user