]> sourceware.org Git - glibc.git/commit
tst: Provide test for ctime
authorLukasz Majewski <lukma@denx.de>
Thu, 21 Jan 2021 08:33:34 +0000 (09:33 +0100)
committerLukasz Majewski <lukma@denx.de>
Tue, 16 Feb 2021 19:36:47 +0000 (20:36 +0100)
commit0ca1a95d3b6249b3ac4101e6d781c7e4380c47e0
tree098a5841c1d010a1f3975015620a181bb9d37c21
parent2323a3426063afec1b43c0b48bf57ffd885a0716
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>
time/Makefile
time/tst-ctime.c [new file with mode: 0644]
This page took 0.041007 seconds and 5 git commands to generate.