blob: d726ad3bf5969578f0b350a4df519f021da395ad [file] [log] [blame]
Dmitry V. Levinf57edf42015-09-18 16:15:49 +00001#!/bin/sh
2
3# Check gettimeofday and settimeofday syscalls decoding.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8OUT="$LOG.out"
9syscalls=gettimeofday,settimeofday
10run_strace -a20 -e trace=$syscalls $args > "$OUT"
Dmitry V. Levin9c405992015-11-26 20:36:35 +000011match_diff "$LOG" "$OUT"
Dmitry V. Levinf57edf42015-09-18 16:15:49 +000012rm -f "$OUT"
13
14exit 0