From: Steve Peters Date: Mon, 28 Nov 2005 14:11:23 +0000 (+0000) Subject: Mac OS X/Darwin seems to have problems with tzname(). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6f3614c8320db76979938c6971fe23038d034f76;p=p5sagit%2Fp5-mst-13.2.git Mac OS X/Darwin seems to have problems with tzname(). p4raw-id: //depot/perl@26221 --- diff --git a/ext/POSIX/t/time.t b/ext/POSIX/t/time.t index 8f372e5..1d4e5f6 100644 --- a/ext/POSIX/t/time.t +++ b/ext/POSIX/t/time.t @@ -22,7 +22,10 @@ SKIP: { tzset(); my @tzname = tzname(); like($tzname[0], qr/[GMT|UTC]/i, "tzset() to GMT/UTC"); - like($tzname[1], qr/[GMT|UTC]/i, "The whole year?"); + SKIP: { + skip "Mac OS X/Darwin doesn't handle this", 1 if $^O =~ /darwin/i; + like($tzname[1], qr/[GMT|UTC]/i, "The whole year?"); + } } # asctime and ctime...Let's stay below INT_MAX for 32-bits and