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