]> granicus.if.org Git - strace/blob - tests/prctl-dumpable.test
strace: terminate itself if interrupted by a signal
[strace] / tests / prctl-dumpable.test
1 #!/bin/sh
2
3 # Check decoding of prctl PR_GET_DUMPABLE and PR_SET_DUMPABLE operations.
4 . "${srcdir=.}/init.sh"
5
6 check_prog grep
7 run_prog > /dev/null
8 run_strace -a23 -eprctl $args > "$EXP"
9 grep -v '^prctl(PR_[GS]ET_[^D][^U]' < "$LOG" > "$OUT"
10 match_diff "$OUT" "$EXP"