#!/bin/sh

# Check select syscall decoding.

. "${srcdir=.}/init.sh"

run_prog > /dev/null
syscall=${ME_%.test}
OUT="$LOG.out"
run_strace -a36 -e$syscall $args > "$OUT"
match_diff "$LOG" "$OUT"

rm -f "$OUT"

exit 0