]> granicus.if.org Git - strace/blob - tests/utimensat.test
tests: move definitions of $OUT and $ERR to init.sh
[strace] / tests / utimensat.test
1 #!/bin/sh
2
3 # Check decoding of utimensat syscall.
4
5 . "${srcdir=.}/init.sh"
6
7 run_prog > /dev/null
8 run_strace -e utimensat $args > "$OUT"
9
10 check_prog grep
11 LC_ALL=C grep -x "utimensat(.*" "$LOG" > /dev/null || {
12         rm -f "$OUT"
13         skip_ 'test executable does not use utimensat syscall'
14 }
15
16 match_diff "$LOG" "$OUT"
17
18 rm -f "$OUT"
19
20 exit 0