about 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-08 10:58:44 +0100
committerLukasz Majewski <lukma@denx.de>2021-03-02 13:31:13 +0100
commite0685bacd585df63a7236b7f117f8c3ca8c38dad (patch)
tree4bb9a7d0d1e70e7af40b4f7d4f8564443ed0d441 /sysdeps/unix/sysv/linux/Makefile
parente81402f246f53072aa799bfee101bf02d561a8c1 (diff)
downloadglibc-e0685bacd585df63a7236b7f117f8c3ca8c38dad.tar.gz
glibc-e0685bacd585df63a7236b7f117f8c3ca8c38dad.tar.xz
glibc-e0685bacd585df63a7236b7f117f8c3ca8c38dad.zip
tst: Add test for futimens
This patch provides test for futimens. It uses wrapper, which
reads access and modification time to compare them with ones
written by futimens.

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 488114a41e..2c96599d88 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-timerfd tst-ppoll tst-futimens
 tests-internal += tst-ofdlocks-compat tst-sigcontext-get_pc
 
 CFLAGS-tst-sigcontext-get_pc.c = -fasynchronous-unwind-tables