diff options
author | Lukasz Majewski <lukma@denx.de> | 2021-03-07 13:11:55 +0100 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2021-03-08 22:41:41 +0100 |
commit | 6905404496f47afcb2f585e4e290fe9646ca4ae3 (patch) | |
tree | a8277da3402ffff1f43474e19d661d4ac3a3ac52 /time/Makefile | |
parent | 6b6a151c7709d9a0da25a2d74ad73e0f78566491 (diff) | |
download | glibc-6905404496f47afcb2f585e4e290fe9646ca4ae3.tar.gz glibc-6905404496f47afcb2f585e4e290fe9646ca4ae3.tar.xz glibc-6905404496f47afcb2f585e4e290fe9646ca4ae3.zip |
tst: Add test for settimeofday
This code brings test to check if time on target machine is properly set. To avoid any issues with altering the time: - The time, which was set before the test was executed is restored. - The time is altered only when cross-test-ssh.sh is executed with --allow-time-setting flag Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'time/Makefile')
-rw-r--r-- | time/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/time/Makefile b/time/Makefile index b3c5368c3b..99b5d42666 100644 --- a/time/Makefile +++ b/time/Makefile @@ -48,7 +48,8 @@ tests := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \ tst-strptime3 bug-getdate1 tst-strptime-whitespace tst-ftime \ tst-tzname tst-y2039 bug-mktime4 tst-strftime2 tst-strftime3 \ tst-clock tst-clock2 tst-clock_nanosleep tst-cpuclock1 \ - tst-adjtime tst-ctime tst-difftime tst-mktime4 tst-clock_settime + tst-adjtime tst-ctime tst-difftime tst-mktime4 tst-clock_settime \ + tst-settimeofday include ../Rules |