android_mt6572_jiabo/external/strace/tests/utimensat.test
2025-09-05 16:56:03 +08:00

21 lines
358 B
Bash
Executable file

#!/bin/sh
# Check decoding of utimensat syscall.
. "${srcdir=.}/init.sh"
run_prog > /dev/null
OUT="$LOG.out"
run_strace -e utimensat $args > "$OUT"
check_prog grep
LC_ALL=C grep -x "utimensat(.*" "$LOG" > /dev/null || {
rm -f "$OUT"
skip_ 'test executable does not use utimensat syscall'
}
match_diff "$LOG" "$OUT"
rm -f "$OUT"
exit 0