Dmitry V. Levin | f57edf4 | 2015-09-18 16:15:49 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check gettimeofday and settimeofday syscalls decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | OUT="$LOG.out" | ||||
9 | syscalls=gettimeofday,settimeofday | ||||
10 | run_strace -a20 -e trace=$syscalls $args > "$OUT" | ||||
Dmitry V. Levin | 9c40599 | 2015-11-26 20:36:35 +0000 | [diff] [blame] | 11 | match_diff "$LOG" "$OUT" |
Dmitry V. Levin | f57edf4 | 2015-09-18 16:15:49 +0000 | [diff] [blame] | 12 | rm -f "$OUT" |
13 | |||||
14 | exit 0 |