Skip Menu |

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

Report information
The Basics
Id: 30389
Status: resolved
Priority: 0/
Queue: Log-Log4perl

People
Owner: Nobody in particular
Requestors: jasonk [...] cpan.org
Cc:
AdminCc:

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



Subject: Test failure on OS X 10.5
The test 048lwp.t contains a regexp built from the name of a temporary directory. For some reason I can't figure out, Apple decided to use regex metacharacters in the directory names used in $TMPDIR, so the test fails on OSX 10.5... t/048lwp.............Nested quantifiers in regex; marked by <-- HERE in m/GET file:/var/folders/21/21Ew4o6hGxqT4wVWzVxWTE++ <-- HERE +TI/-Tmp-/l4p-tmpfile-13067-1973267/ at t/048lwp.t line 45. Fortunately it's a very easy fix... --- 048lwp.t.orig 2007-10-31 13:37:42.000000000 -0400 +++ 048lwp.t 2007-10-31 13:37:58.000000000 -0400 @@ -42,7 +42,7 @@ my $data = join('', <LOG>); close LOG; -like($data, qr#GET file:$tmpfile#); +like($data, qr#\QGET file:$tmpfile\E#); END { unlink "lwpout.txt" }
From: KGOESS [...] cpan.org
On Wed Oct 31 13:41:03 2007, JASONK wrote: Show quoted text
> The test 048lwp.t contains a regexp built from the name of a temporary > directory. For some reason I can't figure out, Apple decided to use > regex metacharacters in the directory names used in $TMPDIR, so the test > fails on OSX 10.5...
Thanks! It looks like Mike already found and fixed it a couple days ago. It'll be in our next release. http://log4perl.cvs.sourceforge.net/log4perl/Log-Log4perl/t/048lwp.t?r1=1.5&r2=1.6
The fix is in, and will come out with the next release.