Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 56994
Status: resolved
Priority: 0/
Queue: Dist-Zilla

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

Bug Information
Severity: Important
Broken in: 2.101170
Fixed in: (no value)



Subject: gatherdir.t and prunes.t plugins tests fail, not portable to Windows
t/plugins/gatherdir.t ....... 1/? # Failed test 'GatherDir gathers all files in the source dir' # at t/plugins/gatherdir.t line 37. # Structures begin differing at: # $got->[1] = 'bonus\subdir\index.html' # $expected->[1] = 'bonus/subdir/index.html' # Looks like you failed 1 test of 3. t/plugins/gatherdir.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests t/plugins/prunes.t .......... 1/? # Failed test 'ManifestSkip prunes files from MANIFEST.SKIP' # at t/plugins/prunes.t line 36. # Structures begin differing at: # $got->[1] = 'bonus\subdir\index.html' # $expected->[1] = 'bonus/subdir/index.html' # Failed test 'ManifestSkip prunes files from MANIFEST.SKIP' # at t/plugins/prunes.t line 36. # Structures begin differing at: # $got->[0] = 'bonus\subdir\index.html' # $expected->[0] = 'bonus/subdir/index.html' t/plugins/prunes.t .......... 6/? # Looks like you failed 2 tests of 6. t/plugins/prunes.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/6 subtests
Yeah, I get the same FAIL here on my strawberry t/plugins/gatherdir.t t/plugins/prunes.t The culprit is the is_deeply() comparison, and the hardcoded paths passed to it. In gatherdir.t the problem is obvious. In prunes.t it FAILs test 1 and 2 but passes the rest. -- ~Apocalypse
fixed in 2.101241 -- rjbs