Subject: | MSWin32 installations now failing (is_deeply_fail.t) |
Following Corion's test failure (http://www.nntp.perl.org/group/perl.cpan.testers/257464), my 5.6.1 installation suffers the same fate. Attached is the patch to fix the offending test.
The problem comes down to Windows file names being 't\is_deeply_fail.t', with the '\' being seen as an escape character in the regex and causing problems.
Oddly testing in isolation with Test::Verbose's tv script, this doesn't seem to be a problem, only when running nmake test on the lot does it cause problems. Very curious!
--- Test-Simple-0.62/t/is_deeply_fail.t Mon Oct 31 17:57:34 2005
+++ Test-Simple-0.62_01/t/is_deeply_fail.t Mon Oct 31 17:57:15 2005
@@ -364,7 +364,7 @@
ok !is_deeply( $glob1, $glob2 ), 'typeglobs';
is( $out, "not ok 28\n" );
like( $err, <<ERR, ' right diagnostic' );
-# Failed test in $0 at line 357.
+# Failed test in \\S+ at line 357.
# Structures begin differing at:
# \\\$got = GLOB\\(0x[0-9a-f]+\\)
# \\\$expected = GLOB\\(0x[0-9a-f]+\\)