]> granicus.if.org Git - strace/blob - tests/poll-P.test
tests: check path tracing of poll syscall
[strace] / tests / poll-P.test
1 #!/bin/sh
2
3 # Check path tracing of poll syscall.
4
5 . "${srcdir=.}/init.sh"
6
7 run_prog > /dev/null
8 run_strace -a16 -vepoll -P /dev/full 9>>/dev/full \
9         $args > "$EXP"
10 match_diff "$LOG" "$EXP"
11
12 for abbrev in 0 1 2 3 4 5; do
13         run_prog "../$NAME" $abbrev > /dev/null
14         run_strace -a16 -epoll -s$abbrev -P /dev/full 9>>/dev/full \
15                 $args > "$EXP"
16         match_diff "$LOG" "$EXP"
17 done