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-01-20 12:10:42 +0100
committerLukasz Majewski <lukma@denx.de>2021-03-08 22:41:41 +0100
commitb4effffde8e61be97a9a11dec1c628034207a643 (patch)
tree84d29d9a9d74e2526361f0ba1eb233715474bf5c /sysdeps/unix/sysv/linux/Makefile
parent3f337843ec71cfdce90fa41df79ae4913241bc33 (diff)
downloadglibc-b4effffde8e61be97a9a11dec1c628034207a643.tar.gz
glibc-b4effffde8e61be97a9a11dec1c628034207a643.tar.xz
glibc-b4effffde8e61be97a9a11dec1c628034207a643.zip
tst: Add test for clock_adjtime
This code privides test to check if time on target machine is properly
adjusted.
The time is altered only when cross-test-ssh.sh is executed with
--allow-time-setting flag.
As the delta added to CLOCK_REALTIME is only 1 sec the original time is
not restored and further tests are executed with this bias.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 51e28b97ac..d0beb2f4f5 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -107,7 +107,8 @@ 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-utime tst-utimes
+	 tst-timerfd tst-ppoll tst-futimens tst-utime tst-utimes \
+	 tst-clock_adjtime
 tests-internal += tst-ofdlocks-compat tst-sigcontext-get_pc
 
 CFLAGS-tst-sigcontext-get_pc.c = -fasynchronous-unwind-tables