Subject: | Timezone related test failures |
Tests pass only in specific timezones, it seems. With UTC, the test log is as follows:
# Failed test 'uptime(30000)'
# at t/test.t line 43.
# got: 32100
# expected: 28500
# Failed test 'uptime(50000)'
# at t/test.t line 44.
# got: 12100
# expected: 8500
# Failed test 'uptime(60000)'
# at t/test.t line 45.
# got: 2100
# expected: 0
# Failed test 'uptime(30000)'
# at t/test.t line 61.
# got: 24300
# expected: 27900
# Failed test 'uptime(50000)'
# at t/test.t line 62.
# got: 24300
# expected: 27900
# Failed test 'uptime(60000)'
# at t/test.t line 63.
# got: 24300
# expected: 26400
# Failed test 'interval'
# at t/test.t line 100.
# got: 0
# expected: 1561
# Looks like you failed 7 tests of 41.
t/test.t ..
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/41 subtests
On the same system with same perls the test pass if I set TZ=Europe/Zagreb.