Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Simple CPAN distribution.

Report information
The Basics
Id: 15425
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: barbie [...] missbarbell.co.uk
chorny [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.62
Fixed in: (no value)



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]+\\)
Subject: make test error
ActiveState Perl 5.8.7, MS Win XP Binary build 813 [148120] t\is_deeply_fail..........ok 1/73Unrecognized escape \i passed through in regex; marked by <-- HERE in m/# Failed test in t\i <-- HERE s_deeply_fail.t at line 357. # Structures begin differing at: # \$got = GLOB\(0x[0-9a-f]+\) # \$expected = GLOB\(0x[0-9a-f]+\) / at t\is_deeply_fail.t line 359. # Failed test ' right diagnostic' t\is_deeply_fail..........NOK 73# in t\is_deeply_fail.t at line 359. # '# Failed test in t\is_deeply_fail.t at line 357. # # Structures begin differing at: # # $got = GLOB(0x1968a38) # # $expected = GLOB(0x196833c) # ' # doesn't match '/# Failed test in t\is_deeply_fail.t at line 357. # # Structures begin differing at: # # \$got = GLOB\(0x[0-9a-f]+\) # # \$expected = GLOB\(0x[0-9a-f]+\) # /' t\is_deeply_fail..........FAILED test 73 Failed 1/73 tests, 98.63% okay
See RT #15425 for a patch.
This should be fixed in 0.64_01