summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-02-24 22:19:06 +0100
committerLukasz Majewski <lukma@denx.de>2021-03-02 13:31:13 +0100
commitdec445d40dc5523661b8ab8cf112e179508ee06d (patch)
treede9505fac95b4b6b2d31c689c2519fc8c56066a9 /sysdeps/unix/sysv/linux/Makefile
parente0685bacd585df63a7236b7f117f8c3ca8c38dad (diff)
downloadglibc-dec445d40dc5523661b8ab8cf112e179508ee06d.tar.gz
glibc-dec445d40dc5523661b8ab8cf112e179508ee06d.tar.xz
glibc-dec445d40dc5523661b8ab8cf112e179508ee06d.zip
tst: Add test for utime
This patch provides test for utime. It uses wrapper to read access
and modification times to compare them with ones written by utime.

Moreover, access and modification times beyond the Y2038 threshold
date (i.e. 32 bit time_t overflow) are also checked.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 2c96599d88..a68a6504a2 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -107,7 +107,7 @@ tests += tst-clone tst-clone2 tst-clone3 tst-fanotify tst-personality \
 	 test-errno-linux tst-memfd_create tst-mlock2 tst-pkey \
 	 tst-rlimit-infinity tst-ofdlocks tst-gettid tst-gettid-kill \
 	 tst-tgkill tst-sysvsem-linux tst-sysvmsg-linux tst-sysvshm-linux \
-	 tst-timerfd tst-ppoll tst-futimens
+	 tst-timerfd tst-ppoll tst-futimens tst-utime
 tests-internal += tst-ofdlocks-compat tst-sigcontext-get_pc
 
 CFLAGS-tst-sigcontext-get_pc.c = -fasynchronous-unwind-tables