]> 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:25 +0000 (05:55 -0600)
commitb738e119f245d86f658165fd1e1650db2cf87dfc
tree33980dd991bfae48020950fc404d3a2f0388da04
parent09b70525e07c63cdafb267102728cc9fdfb0f119
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