strace/tests/utime.test
Dmitry V. Levin 50e267c420 tests: rewrite utime.test without relying on libc utime wrapper
* tests/utime.c (k_utime): New function, a thin wrapper around
syscall(__NR_utime).
(main): Use it instead of utime.
* tests/utime.test: Update.
2016-11-29 04:08:47 +00:00

7 lines
114 B
Bash
Executable File

#!/bin/sh
# Check decoding of utime syscall.
. "${srcdir=.}/init.sh"
run_strace_match_diff -a 16 -e trace=utime