]> granicus.if.org Git - strace/commit
tests: rewrite utime.test without relying on libc utime wrapper
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 29 Nov 2016 04:08:47 +0000 (04:08 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 29 Nov 2016 04:08:47 +0000 (04:08 +0000)
commit50e267c420caeb15a5842272ca0e7a39abf82b91
tree4f59173f5968352b743fa3194f82c5cc9d7ff064
parent4399fa976a02bc407659e7c5e2ed6ca0b0c4bd68
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.
tests/utime.c
tests/utime.test