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