]> granicus.if.org Git - strace/blob - tests/prctl-no-args.test
tests: use fixed timestamps in utime related tests
[strace] / tests / prctl-no-args.test
1 #!/bin/sh
2
3 # Check decoding of prctl PR_GET_KEEPCAPS, PR_GET_SECCOMP, PR_GET_TIMERSLACK,
4 # PR_GET_TIMING, PR_TASK_PERF_EVENTS_DISABLE, and PR_TASK_PERF_EVENTS_ENABLE
5 # operations.
6 . "${srcdir=.}/init.sh"
7
8 check_prog grep
9 run_prog > /dev/null
10 run_strace -a21 -eprctl $args > "$EXP"
11 grep -v '^prctl(PR_[GS]ET_[^KST][^EI][^CEM]' < "$LOG" > "$OUT"
12 match_diff "$OUT" "$EXP"