Subject: | t/zd_Africa-Cairo.t fails with tzdata 2016e |
I've confirmed this on Perl 5.14 and 5.20.
I'll try to look into it myself but I'm not totally certain how this all hangs together so it might take me a while. You might find it obvious from the test output.
Cheers,
Rob N.
$ prove -l t/zd_Africa-Cairo.t
t/zd_Africa-Cairo.t .. 1991/20286
# Failed test 'local day should be 27 (2039-10-27 23:00:00)'
# at t/zd_Africa-Cairo.t line 6589.
# got: '28'
# expected: '27'
# Failed test 'local hour should be 23 (2039-10-27 23:00:00)'
# at t/zd_Africa-Cairo.t line 6590.
# got: '0'
# expected: '23'
# Failed test 'is_dst should be 0 (2039-10-27 23:00:00)'
# at t/zd_Africa-Cairo.t line 6594.
# got: '1'
# expected: '0'
# Failed test 'offset should be 7200 (2039-10-27 23:00:00)'
# at t/zd_Africa-Cairo.t line 6595.
# got: '10800'
# expected: '7200'
# Failed test 'short name should be EET (2039-10-27 23:00:00)'
# at t/zd_Africa-Cairo.t line 6596.
# got: 'EEST'
# expected: 'EET'
# Failed test 'local day should be 26 (2040-04-26 23:59:59)'
# at t/zd_Africa-Cairo.t line 6607.
# got: '27'
# expected: '26'
# Failed test 'local hour should be 23 (2040-04-26 23:59:59)'
# at t/zd_Africa-Cairo.t line 6608.
# got: '0'
# expected: '23'
# Failed test 'is_dst should be 0 (2040-04-26 23:59:59)'
# at t/zd_Africa-Cairo.t line 6612.
# got: '1'
# expected: '0'
# Failed test 'offset should be 7200 (2040-04-26 23:59:59)'
# at t/zd_Africa-Cairo.t line 6613.
# got: '10800'
# expected: '7200'
# Failed test 'short name should be EET (2040-04-26 23:59:59)'
# at t/zd_Africa-Cairo.t line 6614.
# got: 'EEST'
# expected: 'EET'
# Failed test 'local day should be 25 (2040-10-25 23:00:00)'
# at t/zd_Africa-Cairo.t line 6733.
# got: '26'
# expected: '25'
# Failed test 'local hour should be 23 (2040-10-25 23:00:00)'
# at t/zd_Africa-Cairo.t line 6734.
# got: '0'
# expected: '23'
# Failed test 'is_dst should be 0 (2040-10-25 23:00:00)'
# at t/zd_Africa-Cairo.t line 6738.
# got: '1'
# expected: '0'
# Failed test 'offset should be 7200 (2040-10-25 23:00:00)'
# at t/zd_Africa-Cairo.t line 6739.
# got: '10800'
# expected: '7200'
# Failed test 'short name should be EET (2040-10-25 23:00:00)'
# at t/zd_Africa-Cairo.t line 6740.
# got: 'EEST'
# expected: 'EET'
# Failed test 'local day should be 25 (2041-04-25 23:59:59)'
# at t/zd_Africa-Cairo.t line 6751.
# got: '26'
# expected: '25'
# Failed test 'local hour should be 23 (2041-04-25 23:59:59)'
# at t/zd_Africa-Cairo.t line 6752.
# got: '0'
# expected: '23'
# Failed test 'is_dst should be 0 (2041-04-25 23:59:59)'
# at t/zd_Africa-Cairo.t line 6756.
# got: '1'
# expected: '0'
# Failed test 'offset should be 7200 (2041-04-25 23:59:59)'
# at t/zd_Africa-Cairo.t line 6757.
# got: '10800'
# expected: '7200'
# Failed test 'short name should be EET (2041-04-25 23:59:59)'
# at t/zd_Africa-Cairo.t line 6758.
# got: 'EEST'
# expected: 'EET'
t/zd_Africa-Cairo.t .. 19701/20286 # Looks like you failed 20 tests of 20286.
t/zd_Africa-Cairo.t .. Dubious, test returned 20 (wstat 5120, 0x1400)
Failed 20/20286 subtests
Test Summary Report
-------------------
t/zd_Africa-Cairo.t (Wstat: 5120 Tests: 20286 Failed: 20)
Failed tests: 3288-3289, 3292-3294, 3297-3298, 3301-3303
3360-3361, 3364-3366, 3369-3370, 3373-3375
Non-zero exit status: 20
Files=1, Tests=20286, 6 wallclock secs ( 1.47 usr 0.09 sys + 5.95 cusr 0.07 csys = 7.58 CPU)
Result: FAIL