]> 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:35 +0000 (05:55 -0600)
commita5cdee36a7ff990b37705d77f993bf603f8f279e
treeb7829c8ae43612f48c2e317c7e0a0f12986d8a0a
parent0cf4e325aa0d2cefbf2a21e2a4f5af13883911f4
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