CVSROOT: /cvs Module name: src Changes by: b...@cvs.openbsd.org 2022/11/06 05:57:09
Added files: regress/lib/libc/time/time_conversion: Makefile timetest.c Log message: Add a bunch of regression tests for time conversion. 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.