]> git.ipfire.org Git - thirdparty/asterisk.git/commit
test_time.c: Tolerate DST transitions
authorJosh Soref <jsoref@gmail.com>
Sun, 7 Nov 2021 15:32:17 +0000 (10:32 -0500)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 4 Jan 2022 11:55:44 +0000 (05:55 -0600)
commitd8d4ac87a5b0fb949d5bdf1b2610f035758c9602
tree5b680f30484f0ab4fcc3cbf8db4bd33055e2f73c
parentf2cfce147b45893e8dd4101c807a0513a9659165
test_time.c: Tolerate DST transitions

When test_timezone_watch runs very near a DST transition,
two time zones that would otherwise be expected to report the same
time can differ because of the DST transition.

Instead of having the test fail when this happens, report the
times, time zones, and dst flags.

ASTERISK-29722

Change-Id: Id59bdac8b277e14343ccdf0c99b89e92f79f316a
tests/test_time.c