#!/bin/sh

# Check ioctl syscall decoding.

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

run_prog > /dev/null
OUT="$LOG.out"
run_strace -a16 -e ioctl $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"

exit 0