• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3# Check clock_getres, clock_gettime, and clock_settime syscalls decoding.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8OUT="$LOG.out"
9syscalls=clock_getres,clock_gettime,clock_settime
10run_strace -a36 -e trace=$syscalls $args > "$OUT"
11match_diff "$LOG" "$OUT"
12rm -f "$OUT"
13
14exit 0
15