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" }