Subject: | Timezone, locale and OS related problems |
The test suite fails on all of my smokers. I see the following problems:
# Failed test at t/bin/Prty/Epoch.t line 47.
# got: '2016-05-27 09:50:21'
# expected: '2016-05-27 11:50:21'
# Looks like you failed 1 test of 6.
t/bin/Prty/Epoch.t ..............................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
# Failed test at t/bin/Prty/Converter.t line 83.
# got: '2014-11-18 13:05:06,690'
# expected: '2014-11-18 14:05:06,690'
This looks like CET or CEST is expected, but most of my smokers have the timezone set to UTC.
# Failed test at t/bin/Prty/Http/Cookie.t line 36.
# got: 'sid=4711; expires=Do, 01-Jan-1970 00:00:01 GMT'
# expected: 'sid=4711; expires=Thu, 01-Jan-1970 00:00:01 GMT'
# Looks like you failed 1 test of 4.
This looks like the test suite expects an English locale, but here a German locale is active.
Can't exec "/bin/true": No such file or directory at t/bin/Prty/Shell.t line 47.
# Failed test 'checkError: Kommando erfolgreich ausgef�hrt'
# at t/bin/Prty/Shell.t line 49.
Can't exec "/bin/false": No such file or directory at t/bin/Prty/Shell.t line 51.
# Failed test 'checkError: Kommando endete mit Fehler'
# at t/bin/Prty/Shell.t line 53.
On non-Linux systems (here: FreeBSD) true & false are often in /usr/bin, not in /bin.
# Failed test at t/bin/Prty/Timeseries/Synchronizer.t line 225.
# Structures begin differing at:
# $got->[0][7] = '1.58113883008418967'
# $expected->[0][7] = '1.58113883008419'
This probably fails on systems where perl is compiled with -Duselongdouble.