You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
305 B
16 lines
305 B
4 months ago
|
#!/bin/sh
|
||
|
|
||
|
# Check poll syscall decoding.
|
||
|
|
||
|
. "${srcdir=.}/init.sh"
|
||
|
|
||
|
run_prog > /dev/null
|
||
|
run_strace -a16 -vepoll $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 $args > "$EXP"
|
||
|
match_diff "$LOG" "$EXP"
|
||
|
done
|