about summary refs log tree commit diff
path: root/time/Makefile
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-01-21 09:33:34 +0100
committerLukasz Majewski <lukma@denx.de>2021-02-16 20:36:47 +0100
commit0ca1a95d3b6249b3ac4101e6d781c7e4380c47e0 (patch)
tree098a5841c1d010a1f3975015620a181bb9d37c21 /time/Makefile
parent2323a3426063afec1b43c0b48bf57ffd885a0716 (diff)
downloadglibc-0ca1a95d3b6249b3ac4101e6d781c7e4380c47e0.tar.gz
glibc-0ca1a95d3b6249b3ac4101e6d781c7e4380c47e0.tar.xz
glibc-0ca1a95d3b6249b3ac4101e6d781c7e4380c47e0.zip
tst: Provide test for ctime
This change adds new test to assess ctime's functionality.

To be more specific - following use cases are checked:
- Pass time_t value as 0 to check if epoch time is converted
- Pass time_t as max value for 32 bit systems
- Pass time_t as the first value after Y2038 threshold

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'time/Makefile')
-rw-r--r--time/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/Makefile b/time/Makefile
index 347f94c5f5..2dd70111b5 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -48,7 +48,7 @@ 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-adjtime tst-ctime
 
 include ../Rules