blob: dbebae30ed089c1d7e38866cf8f67d0b1901a010 [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 "$OUT" "$LOG"
rm -f "$OUT"
exit 0