summaryrefslogtreecommitdiff
path: root/ext/POSIX/t
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2009-11-12 17:24:49 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2009-11-12 17:24:49 +0100
commit4c34a366a82c10097c6281cd937847cabac9441e (patch)
treeddd421e4ed04cbe05cd96ec0485dcd2afcd392ea /ext/POSIX/t
parent1982da64370f4bb66f2e424289c4277f68228aab (diff)
downloadperl-4c34a366a82c10097c6281cd937847cabac9441e.tar.gz
HP-UX does not accept UTC0UTC, because there is no valid DST rule
Diffstat (limited to 'ext/POSIX/t')
-rw-r--r--ext/POSIX/t/time.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/POSIX/t/time.t b/ext/POSIX/t/time.t
index 01ce87fa8e..8fec1b80df 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.