#!/bin/sh

# Check timerfd_create, timerfd_settime, and timerfd_gettime syscalls decoding.

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

run_prog > /dev/null
OUT="$LOG.out"
syscalls=timerfd_create,timerfd_settime,timerfd_gettime
run_strace -e trace=$syscalls $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"

exit 0