blob: 762c6a131067077716f86294900216d4673ec1f6 [file] [log] [blame]
Dmitry V. Levin78e48eb2015-07-15 15:34:59 +00001#!/bin/sh
2
3# Check decoding of utimensat syscall.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8OUT="$LOG.out"
9run_strace -e utimensat $args > "$OUT"
10
11check_prog grep
12LC_ALL=C grep -x "utimensat(.*" "$LOG" > /dev/null || {
13 rm -f "$OUT"
14 skip_ 'test executable does not use utimensat syscall'
15}
16
17match_diff "$OUT" "$LOG"
18
19rm -f "$OUT"
20
21exit 0