blob: 52e3f3165b0be090729270dd612138e5df380e16 [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
Dmitry V. Levin78e48eb2015-07-15 15:34:59 +00008run_strace -e utimensat $args > "$OUT"
9
10check_prog grep
11LC_ALL=C grep -x "utimensat(.*" "$LOG" > /dev/null || {
12 rm -f "$OUT"
13 skip_ 'test executable does not use utimensat syscall'
14}
15
Dmitry V. Levin9c405992015-11-26 20:36:35 +000016match_diff "$LOG" "$OUT"
Dmitry V. Levin78e48eb2015-07-15 15:34:59 +000017
18rm -f "$OUT"
19
20exit 0