about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-01-25 13:48:13 +0100
committerLukasz Majewski <lukma@denx.de>2021-02-16 20:41:45 +0100
commit7b15dabfdd49a2dcb6d25285f3bcdf880c1dbda5 (patch)
treea2b2f7fb3e76b2fccb1fae63d7df2f65b3879a21 /string
parent13c0b30b24b1f7c6853cb8a3317568cb960efe99 (diff)
downloadglibc-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 'string')
0 files changed, 0 insertions, 0 deletions