blob: d726ad3bf5969578f0b350a4df519f021da395ad [file] [log] [blame]
#!/bin/sh
# Check gettimeofday and settimeofday syscalls decoding.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
syscalls=gettimeofday,settimeofday
run_strace -a20 -e trace=$syscalls $args > "$OUT"
match_diff "$LOG" "$OUT"
rm -f "$OUT"
exit 0