]> granicus.if.org Git - strace/blob - tests/prctl-pdeathsig.test
Introduce generic STRINGIFY and STRINGIFY_VAL macros
[strace] / tests / prctl-pdeathsig.test
1 #!/bin/sh
2
3 # Check prctl PR_GET_PDEATHSIG PR_SET_PDEATHSIG decoding.
4
5 . "${srcdir=.}/init.sh"
6
7 check_prog grep
8 run_prog > /dev/null
9 run_strace -a30 -eprctl $args > "$EXP"
10 grep -v '^prctl(PR_[GS]ET_[^P][^D]' < "$LOG" > "$OUT"
11 match_diff "$OUT" "$EXP"