Dmitry V. Levin | 12431f7 | 2015-09-17 20:44:22 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check setitimer and getitimer syscalls decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | OUT="$LOG.out" | ||||
9 | syscalls=setitimer,getitimer | ||||
10 | run_strace -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 | 12431f7 | 2015-09-17 20:44:22 +0000 | [diff] [blame] | 12 | rm -f "$OUT" |
13 | |||||
14 | exit 0 |