1#!/bin/sh
2
3# Check path tracing of poll syscall.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8run_strace -a16 -vepoll -P /dev/full 9>>/dev/full \
9	$args > "$EXP"
10match_diff "$LOG" "$EXP"
11
12for 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"
17done
18