summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/time/time_conversion/timetest.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation on sparc64.mbuhl2023-04-131-2/+3
|
* Be more helpful and provide details on what the time conversion testsanton2022-11-221-9/+6
| | | | | | need in order to run. Also, output the expected SKIPPED string as dictated by bsd.regress.mk.
* Add tests for boundary conditions of struct tm.beck2022-11-091-1/+125
| | | | Struct tm is limited by it's year being an int.
* Add a bunch of regression tests for time conversion.beck2022-11-061-0/+1725
This regression tests time conversion across various limits, leap seconds, and daylight transistions. gmtime_r, localtime_r, timegm, and mktime are tested against themselves and expected outputs. It requires the "posix" and "right" zoneinfo to be installed on the test running machine in order to access testable time zones. If those are not present the test is skipped successfully with a warning.