From: H.Merijn Brand Date: Thu, 12 Nov 2009 16:24:49 +0000 (+0100) Subject: HP-UX does not accept UTC0UTC, because there is no valid DST rule X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4c34a366a82c10097c6281cd937847cabac9441e;p=p5sagit%2Fp5-mst-13.2.git HP-UX does not accept UTC0UTC, because there is no valid DST rule --- diff --git a/ext/POSIX/t/time.t b/ext/POSIX/t/time.t index 01ce87f..8fec1b8 100644 --- a/ext/POSIX/t/time.t +++ b/ext/POSIX/t/time.t @@ -28,6 +28,14 @@ SKIP: { } } +if ($^O eq "hpux" && $Config{osvers} >= 11.3) { + # HP does not support UTC0UTC and/or GMT0GMT, as they state that this is + # legal syntax but as it has no DST rule, it cannot be used. That is the + # conclusion of bug + # QXCR1000896916: Some timezone valuesfailing on 11.31 that work on 11.23 + $ENV{TZ} = UTC"; +} + # asctime and ctime...Let's stay below INT_MAX for 32-bits and # positive for some picky systems.