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 /inet | |
parent | 13c0b30b24b1f7c6853cb8a3317568cb960efe99 (diff) | |
download | glibc-7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5.zip glibc-7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5.tar.gz glibc-7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5.tar.bz2 |
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 'inet')
0 files changed, 0 insertions, 0 deletions