25 Jan
2025
25 Jan
'25
5:27 a.m.
I'm getting the following failed test:
test-var-expand.c:464: Assert failed: labs(t0 - t1) < 10 3600 < 10 is not true var_expand(providers) ................................................ : FAILED
This test appears to be a timestamp comparison as per this comment:
/* Ensure the time is within 10 seconds */
being exactly one hour off makes me suspect a time-zone issue on the build machine. This machine is in NZDT which is currently in daylight savings time which makes me suspect that this is an issue that is specific to dovecot being built in a timezone in the southern hemisphere.
Shouldn't the comparison be done on UTC time instead of localtime to avoid these issues?
Peter