Skip Menu |

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

Report information
The Basics
Id: 62644
Status: open
Priority: 0/
Queue: Test-CheckChanges

People
Owner: Nobody in particular
Requestors: ahmad.zawawi [...] gmail.com
dolmen [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails to 'make test' on win32 because of case insensitivity
Hi, The fix is rather easy. Either put the Changes and CHANGES file in t/bad in separate directories or prefix them. Win32 platforms will write the first/last file as one when extracting the archive and it will fail like below. I encountered this while trying to install Dist::Zilla. Thanks, Ahmad M. Zawawi (azawawi) You have make C:\strawberry\c\bin\dmake.exe You have LWP 5.836 Falling back to Archive::Tar 1.66 Searching Test::CheckChanges on cpanmetadb ... --> Working on Test::CheckChanges Fetching http://search.cpan.org/CPAN/authors/id/G/GA/GAM/Test- CheckChanges-0.14.tar.gz ... OK Unpacking Test-CheckChanges-0.14.tar.gz Could not open file 'D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\t\bad\CHANGES': Permission denied at /loader/0x139364c/App/cpanminus/script.pm line 1380 Could not extract 'Test-CheckChanges-0.14/t/bad/CHANGES' at /loader/0x139364c/App/cpanminus/script.pm line 1380 Entering Test-CheckChanges-0.14 Checking if you have Module::Build 0.36 ... Yes (0.3607) Configuring Test-CheckChanges-0.14 ... Running Build.PL WARNING: the following files are missing in your kit: t/bad/CHANGES t/bad/missing2/README t/bad/mixxed/Changes t/bad/mixxed/Makefile t/bad/multiple/Changes t/bad/multiple/Makefile t/bad/test1a/_build/build_params t/bad/test1a/Changes t/bad/test1b/Changes t/bad/test1c/_build/build_params t/bad/test1c/CHANGES t/bad/test2/Changes t/bad/test2/Makefile t/bad/test3/Changes t/bad/test3/Makefile t/bad/test4/Changes t/bad/test4/Makefile t/bad/test5/Changes t/bad/test5/Makefile t/bad/test6/Changes t/bad/test6/Makefile t/bad/test7/Changes Please inform the author. Checking prerequisites... recommends: * Test::Pod is not installed * Test::Pod::Coverage is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Test-CheckChanges' version '0.14' OK Checking dependencies from MYMETA.yml ... Checking if you have Test::More 0 ... Yes (0.96) Building and testing Test-CheckChanges-0.14 ... Building Test- CheckChanges t\changes.t ......... ok t\bad\missing2: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\missing.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t\bad\mixxed: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\mixxed.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests print() on closed filehandle X at t\multi.t line 26. print() on closed filehandle X at t\multi.t line 26. print() on closed filehandle X at t\multi.t line 26. t\bad\multiple: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\multi.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t\parse_all.t ....... ok t\parse_apocal.t .... ok t\parse_common.t .... ok t\parse_common3.t ... ok t\parse_versionN.t .. ok t\parse_yaml.t ...... ok t\pod.t ............. skipped: Test::Pod 1.00 required for testing POD t\pod_coverage.t .... skipped: Test::Pod::Coverage 1.00 required for testing POD coverage t\bad\test1a: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 # Looks like your test exited with 2 before it could output anything. t\test1a.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t\bad\test1b: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test1b.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t\bad\test1c: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test1c.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t\bad\test2: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test2.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t\bad\test3: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test3.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t\bad\test4: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test4.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t\bad\test5: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test5.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t\bad\test6: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test6.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t\bad\test7: No such file or directory at D:\.cpanm\work\1288705993.6096\Test-CheckChanges- 0.14\blib\lib/Test/CheckChanges.pm line 112 t\test7.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t\testx.t ........... ok t\testy.t ........... ok The system cannot find the path specified. t\testz.t ........... ok t\tpcp.t ............ skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run. t\unit.t ............ ok Test Summary Report ------------------- t\missing.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. t\mixxed.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t\multi.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. t\test1a.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t\test1b.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. t\test1c.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. t\test2.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. t\test3.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t\test4.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t\test5.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t\test6.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. t\test7.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=26, Tests=17, 3 wallclock secs ( 0.27 usr + 0.20 sys = 0.47 CPU) Result: FAIL Failed 12/26 test programs. 0/17 subtests failed. FAIL ! Installing Test::CheckChanges failed. See \.cpanm\build.log for details.
This is still a blocking bug on Win32. -- Olivier Mengué - http://perlresume.org/DOLMEN
Same think on mac os X lion perl Build.PL WARNING: the following files are missing in your kit: t/bad/Changes Please inform the author. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Test-CheckChanges' version '0.14' bash: __git_ps1: command not found MacBook-Air-de-Geistteufel:Test-CheckChanges-0.14 geistteufel$ ./Build test t/changes.t ......... ok t/missing.t ......... ok t/mixxed.t .......... ok t/multi.t ........... skipped: case insensitive filesystem t/parse_all.t ....... ok t/parse_apocal.t .... ok t/parse_common.t .... ok t/parse_common3.t ... ok t/parse_versionN.t .. ok t/parse_yaml.t ...... ok t/pod.t ............. ok t/pod_coverage.t .... ok t/test1a.t .......... ok t/test1b.t .......... ok t/test1c.t .......... ok t/test2.t ........... ok t/test3.t ........... ok t/test4.t ........... ok t/test5.t ........... ok t/test6.t ........... ok t/test7.t ........... ok t/testx.t ........... ok t/testy.t ........... ok t/testz.t ........... ok t/tpcp.t ............ skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run. t/unit.t ............ ok Test Summary Report ------------------- t/multi.t (Wstat: 0 Tests: 0 Failed: 0) Parse errors: More than one plan found in TAP output Files=26, Tests=37, 2 wallclock secs ( 0.13 usr 0.07 sys + 1.24 cusr 0.17 csys = 1.61 CPU) Result: FAIL Failed 1/26 test programs. 0/37 subtests failed.