Issue #3373
printf_hooks test failure
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
configuration
Affected version:
5.8.2
Resolution:
No change required
Description
Running case 'printf_hooks': +-+-++++++++++++++++
Failure in 'test_time_printf_hook': buf != time_data[_i].out ("Jan 01 00:00:01 1970" != "Jan 01 01:00:01 1970") (suites/test_utils.c:871, i = 2)
Failure in 'test_time_printf_hook': buf != time_data[_i].out ("Jul 01 13:43:16 2012" != "Jul 01 15:43:16 2012") (suites/test_utils.c:871, i = 4)
TZ is UTC, test execution occurs in a docker container.
See https://ci.appveyor.com/project/Thermi15531/strongswan/builds/31493867/job/ajwmutnxcr7ko0ev
I'm investigating further.
History
#1 Updated by Noel Kuntze 11 months ago
That looks like some other timezone setting interferes with the printf_hook.
#2 Updated by Noel Kuntze 11 months ago
- Category set to configuration
- Status changed from New to Closed
- Resolution set to No change required
Installing tzdata
and setting the correct timezone in the container fixed the issue. Just setting TZ didn't work.