Skip Menu |

This queue is for tickets about the Log-Dispatch-FileRotate CPAN distribution.

Report information
The Basics
Id: 23504
Status: resolved
Worked: 2 min
Priority: 0/
Queue: Log-Dispatch-FileRotate

People
Owner: cpan [...] mlp-consulting.com.au
Requestors: rkitover [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.15
Fixed in: (no value)



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"
Added to 1.18 which should roll out soon. -- cheers markpf