1#!/bin/sh 2 3# Check poll syscall decoding. 4 5. "${srcdir=.}/init.sh" 6 7run_prog > /dev/null 8run_strace -a16 -vepoll $args > "$EXP" 9match_diff "$LOG" "$EXP" 10 11for abbrev in 0 1 2 3 4 5; do 12 run_prog "../$NAME" $abbrev > /dev/null 13 run_strace -a16 -epoll -s$abbrev $args > "$EXP" 14 match_diff "$LOG" "$EXP" 15done 16