Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the File-Next CPAN distribution.

Report information
The Basics
Id: 21257
Status: resolved
Priority: 0/
Queue: File-Next

People
Owner: Nobody in particular
Requestors: jerry.gay [...] gmail.com
Cc:
AdminCc:

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



Subject: this module is not windows friendly :(
Date: Thu, 31 Aug 2006 12:55:50 -0700
To: bug-file-next [...] rt.cpan.org
From: "jerry gay" <jerry.gay [...] gmail.com>
perhaps relying on C<< File::Spec->canonpath() >> would not be a bad thing, or if it is meant not to be portable, your tests should not assume '/' as path separator. ~jerry Running make for P/PE/PETDANCE/File-Next-0.22.tar.gz CPAN: checksum security checks disabledbecause Digest::SHA not installed. File-Next-0.22/ File-Next-0.22/Changes File-Next-0.22/Makefile.PL File-Next-0.22/MANIFEST File-Next-0.22/META.yml File-Next-0.22/Next.pm File-Next-0.22/README File-Next-0.22/t/ File-Next-0.22/t/00-load.t File-Next-0.22/t/api.t File-Next-0.22/t/basic.t File-Next-0.22/t/filters.t File-Next-0.22/t/parms.t File-Next-0.22/t/pod-coverage.t File-Next-0.22/t/pod.t File-Next-0.22/t/swamp/ File-Next-0.22/t/swamp/a/ File-Next-0.22/t/swamp/a/a1 File-Next-0.22/t/swamp/a/a2 File-Next-0.22/t/swamp/b/ File-Next-0.22/t/swamp/b/b1 File-Next-0.22/t/swamp/b/b2 File-Next-0.22/t/swamp/c/ File-Next-0.22/t/swamp/c/c1 File-Next-0.22/t/swamp/c/c2 File-Next-0.22/t/swamp/c-header.h File-Next-0.22/t/swamp/c-source.c File-Next-0.22/t/swamp/javascript.js File-Next-0.22/t/swamp/Makefile File-Next-0.22/t/swamp/Makefile.PL File-Next-0.22/t/swamp/parrot.pir File-Next-0.22/t/swamp/perl-test.t File-Next-0.22/t/swamp/perl-without-extension File-Next-0.22/t/swamp/perl.pl File-Next-0.22/t/swamp/perl.pm File-Next-0.22/t/swamp/perl.pod Removing previously used F:\usr\local\perl-5.8.8\cpan\build\File-Next-0.22 CPAN.pm: Going to build P/PE/PETDANCE/File-Next-0.22.tar.gz Checking if your kit is complete... Looks good Writing Makefile for File::Next Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Next.pm blib\lib\File\Next.pm F:\usr\local\perl-5.8.8\bin\nmake.EXE -- OK Running make test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. F:\usr\local\perl-5.8.8\bin\perl.exe "-MExtUtils::Command::MM" "-e" "tes t_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-load.........ok 1/1# Testing File::Next 0.22, Perl 5.008008, F:\usr\local\p erl-5.8.8\bin\perl.exe t/00-load.........ok t/api.............ok 1/18 t/api.............NOK 5# Failed test in t/api.t at line 15. # got: 't\swamp\c-header.h' # expected: 't/swamp/c-header.h' t/api.............NOK 8# Failed test in t/api.t at line 15. # got: 't\swamp\c-source.c' # expected: 't/swamp/c-source.c' t/api.............NOK 11# Failed test in t/api.t at line 15. # got: 't\swamp\javascript.js' # expected: 't/swamp/javascript.js' t/api.............NOK 14# Failed test in t/api.t at line 15. # got: 't\swamp\Makefile' # expected: 't/swamp/Makefile' t/api.............NOK 17# Failed test in t/api.t at line 15. # got: 't\swamp\Makefile.PL' # expected: 't/swamp/Makefile.PL' t/api.............NOK 20# Failed test in t/api.t at line 15. # got: 't\swamp\parrot.pir' # expected: 't/swamp/parrot.pir' t/api.............NOK 23# Failed test in t/api.t at line 15. # got: 't\swamp\perl-test.t' # expected: 't/swamp/perl-test.t' t/api.............NOK 26# Failed test in t/api.t at line 15. # got: 't\swamp\perl-without-extension' # expected: 't/swamp/perl-without-extension' t/api.............NOK 29# Failed test in t/api.t at line 15. # got: 't\swamp\perl.pl' # expected: 't/swamp/perl.pl' t/api.............NOK 32# Failed test in t/api.t at line 15. # got: 't\swamp\perl.pm' # expected: 't/swamp/perl.pm' t/api.............NOK 35# Failed test in t/api.t at line 15. # got: 't\swamp\perl.pod' # expected: 't/swamp/perl.pod' t/api.............NOK 37# Failed test '$File::Next::dir' # in t/api.t at line 14. # got: 't\swamp\a' # expected: 't/swamp' t/api.............NOK 38# Failed test in t/api.t at line 15. # got: 't\swamp\a\a1' # expected: 't/swamp/a1' t/api.............NOK 40# Failed test '$File::Next::dir' # in t/api.t at line 14. # got: 't\swamp\a' # expected: 't/swamp' t/api.............NOK 41# Failed test in t/api.t at line 15. # got: 't\swamp\a\a2' # expected: 't/swamp/a2' t/api.............NOK 43# Failed test '$File::Next::dir' # in t/api.t at line 14. # got: 't\swamp\b' # expected: 't/swamp' t/api.............NOK 44# Failed test in t/api.t at line 15. # got: 't\swamp\b\b1' # expected: 't/swamp/b1' t/api.............NOK 46# Failed test '$File::Next::dir' # in t/api.t at line 14. # got: 't\swamp\b' # expected: 't/swamp' t/api.............NOK 47# Failed test in t/api.t at line 15. # got: 't\swamp\b\b2' # expected: 't/swamp/b2' t/api.............NOK 49# Failed test '$File::Next::dir' # in t/api.t at line 14. # got: 't\swamp\c' # expected: 't/swamp' t/api.............NOK 50# Failed test in t/api.t at line 15. # got: 't\swamp\c\c1' # expected: 't/swamp/c1' t/api.............NOK 52# Failed test '$File::Next::dir' # in t/api.t at line 14. # got: 't\swamp\c' # expected: 't/swamp' t/api.............NOK 53# Failed test in t/api.t at line 15. # got: 't\swamp\c\c2' # expected: 't/swamp/c2' Use of uninitialized value in pattern match (m//) at t/api.t line 23. t/api.............NOK 54# Failed test 'Reasonable filename returned' # in t/api.t at line 23. # undef # doesn't match '(?-xism:^t/swamp/.+)' t/api.............NOK 55# Failed test 'Correct $dir' # in t/api.t at line 28. # got: undef # expected: 't/swamp' Use of uninitialized value in pattern match (m//) at t/api.t line 29. t/api.............NOK 59# Failed test '$File::Next::dir' # in t/api.t at line 35. # 't\swamp\a' # doesn't match '(?-xism:^t/swamp)' t/api.............NOK 61# Failed test '$File::Next::dir' # in t/api.t at line 35. # 't\swamp\b' # doesn't match '(?-xism:^t/swamp)' t/api.............NOK 63# Failed test '$File::Next::dir' # in t/api.t at line 35. # 't\swamp\c' # doesn't match '(?-xism:^t/swamp)' # Looks like you planned 18 tests but ran 45 extra. # Looks like you failed 28 tests of 63 run. t/api.............dubious Test returned status 28 (wstat 7168, 0x1c00) DIED. FAILED tests 5, 8, 11, 14, 17, 19-63 Failed 50/18 tests, -177.78% okay t/basic...........ok 1/9 t/basic...........NOK 5# Failed test 'NO_PARMS' # in t/basic.t at line 56. # Structures begin differing at: # $got->[0] = 't/swamp/Makefile' # $expected->[0] = 't\swamp\Makefile' t/basic...........NOK 7# Failed test 'MULTIPLE_STARTS' # in t/basic.t at line 75. # Structures begin differing at: # $got->[0] = 't/swamp/a/a1' # $expected->[0] = 't\swamp\a\a1' t/basic...........NOK 9# Failed test 'NO_DESCEND' # in t/basic.t at line 98. # Structures begin differing at: # $got->[0] = 't/swamp/Makefile' # $expected->[0] = 't\swamp\Makefile' # Looks like you failed 3 tests of 9. t/basic...........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 5, 7, 9 Failed 3/9 tests, 66.67% okay t/filters.........ok 1/3 t/filters.........NOK 3# Failed test in t/filters.t at line 35. # Structures begin differing at: # $got->[0] = 't/swamp/Makefile.PL' # $expected->[0] = 't\swamp\Makefile.PL' # Looks like you failed 1 test of 3. t/filters.........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay t/parms...........ok t/pod-coverage....skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.............skipped all skipped: Test::Pod 1.14 required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/api.t 28 7168 18 73 405.56% 5 8 11 14 17 19-63 t/basic.t 3 768 9 3 33.33% 5 7 9 t/filters.t 1 256 3 1 33.33% 3 2 tests skipped. Failed 3/7 test scripts, 57.14% okay. -13/34 subtests failed, 138.24% okay. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop. F:\usr\local\perl-5.8.8\bin\nmake.EXE test -- NOT OK Running make install make test had returned bad status, won't install without force
CC: Jerry Gay <jerry.gay [...] gmail.com>
Subject: Re: [rt.cpan.org #21257] this module is not windows friendly :(
Date: Fri, 1 Sep 2006 00:28:41 -0500
To: bug-File-Next [...] rt.cpan.org
From: Andy Lester <andy [...] petdance.com>
On Aug 31, 2006, at 2:56 PM, jerry gay via RT wrote: Show quoted text
> > > perhaps relying on C<< File::Spec->canonpath() >> would not be a bad > thing, or if it is meant not to be portable, your tests should not > assume '/' as path separator.
Jerry, I did some reslashing. Please pull from Subversion and test it for me and let me know if it works. Thansk, xoxo, Andy -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
From: Alexandr Ciornii <alexchorny [...] gmail.com>
On Sep 01 01:28:57 2006, andy@petdance.com wrote: Show quoted text
> Jerry, I did some reslashing. Please pull from Subversion and test > it for me and let me know if it works.
Less errors in 0.24 t/api............. # Failed test '$File::Next::dir' # in t/api.t at line 17. # got: 't/swamp' # expected: 't\swamp' # Failed test '$File::Next::dir' # in t/api.t at line 17. # got: 't/swamp' # expected: 't\swamp' # Failed test 'Correct $dir' # in t/api.t at line 32. # got: 't/swamp' # expected: 't\swamp' # Looks like you failed 3 tests of 18. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 4, 8, 10 Failed 3/18 tests, 83.33% okay
Should be clean in 0.26.