Subject: | make test fails on Cygwin |
Date::Manip doesn't like Cygwin's $ENV{TZ}, which looks like this:
"PST8PDT7,M4.1.0/2,M10.5.0/2"
so make test fails. This should really be fixed in Date::Manip, but it's
a tiny patch.
--
Rafael
Subject: | Log-Dispatch-FileRotate-1.15-test.pl.patch |
--- test.pl.orig 2006-04-23 20:45:30.000000000 -0700
+++ test.pl 2006-11-20 08:15:34.147492400 -0800
@@ -15,6 +15,11 @@
$loaded = 1;
print "ok 1\n";
+if ($^O eq 'cygwin') {
+# Date::Manip doesn't like Cygwin's TZ value.
+ $ENV{TZ} = (split " ",(`date`)[0])[4];
+}
+
######################### End of black magic.
# Insert your test code below (better if it prints "ok 13"