diff options
author | Lukasz Majewski <lukma@denx.de> | 2021-01-25 13:48:13 +0100 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2021-02-16 20:41:45 +0100 |
commit | 7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5 (patch) | |
tree | a2b2f7fb3e76b2fccb1fae63d7df2f65b3879a21 /time/Makefile | |
parent | 13c0b30b24b1f7c6853cb8a3317568cb960efe99 (diff) | |
download | glibc-7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5.tar.gz glibc-7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5.tar.xz glibc-7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5.zip |
tst: time: Provide Y2038 tests for mktime (tst-mktime4.c)
This change adds new test to assess mktime's functionality. To be more specific - following use cases are checked: - Pass struct tm as epoch time - Pass struct tm as value just before Y2038 threshold (returned value shall be 0x7FFFFFFF) - Pass struct tm as the first value after Y2038 threshold (expected value - 0x80000000) Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'time/Makefile')
-rw-r--r-- | time/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/Makefile b/time/Makefile index 7caec2b271..a52b6b94bc 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-ctime tst-difftime + tst-adjtime tst-ctime tst-difftime tst-mktime4 include ../Rules |