Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 62509
Status: open
Priority: 0/
Queue: Test-File-Contents

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

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



Subject: Bug in Test::File::Contents
Date: Thu, 28 Oct 2010 10:45:44 +0300
To: <bug-test-file-contents [...] rt.cpan.org>
From: "Octavian Rasnita" <orasnita [...] gmail.com>
Hi, I have tried to install Test::File::Contents under Windows XP Pro with cpan and Perl 5.10.1 but the test of this file gave the error below. (Maybe because of different end of line endings under Windows...) Running Build test t\00.load.t ....... # Testing Test::File::Contents 0.05 t\00.load.t ....... ok t\10.basic.t ...... 1/25 # Failed test 'file_md5sum works when incorrect' # at t\10.basic.t line 116. # STDERR is: # <[30m<[42m# File t<[30m<[41m\aaa.txt has md5sum 5c9597f3c8245907ea71a89d9d39d08e not 0123456789abcdef0123456789abcdef<[0m # <[30m<[41m# Failed test 'file matches md5sum'<[0m # <[30m<[41m# at t\10.basic.t line 115.<[0m # <[30m<[41m<[0m # not: # <[30m<[42m# File t<[30m<[41m/aaa.txt has md5sum 5c9597f3c8245907ea71a89d9d39d08e not 0123456789abcdef0123456789abcdef<[0m # <[30m<[41m<[0m # <[30m<[41m/#\s+Failed\ test.*?\n?.*?at\ t\\10\.basic\.t line 115.*\n?/<[0m # <[30m<[41m<[0m # as expected # Failed test 'file_contents_identical works when incorrect' # at t\10.basic.t line 136. # STDERR is: # <[30m<[42m# Files t<[30m<[41m\aaa.txt and t\bbb.txt are not identical.<[0m # <[30m<[41m# Failed test 'file contents identical'<[0m # <[30m<[41m# at t\10.basic.t line 135.<[0m # <[30m<[41m<[0m # not: # <[30m<[42m# Files t<[30m<[41m/aaa.txt and t/bbb.txt are not identical.<[0m # <[30m<[41m<[0m # <[30m<[41m/#\s+Failed\ test.*?\n?.*?at\ t\\10\.basic\.t line 135.*\n?/<[0m # <[30m<[41m<[0m # as expected t\10.basic.t ...... Failed 2/25 subtests t\pod-coverage.t .. ok t\pod.t ........... ok Test Summary Report ------------------- t\10.basic.t (Wstat: 0 Tests: 25 Failed: 2) Failed tests: 21, 25 Files=4, Tests=28, 0 wallclock secs ( 0.03 usr + 0.03 sys = 0.06 CPU) Result: FAIL Failed 1/4 test programs. 2/28 subtests failed. SKUD/Test-File-Contents-0.05.tar.gz e:\usr\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SKUD/Test-File-Contents-0.05.tar.gz Running Build install make test had returned bad status, won't install without force Failed during this command: SKUD/Test-File-Contents-0.05.tar.gz : make_test NO Show quoted text
cpan> look Test::File::Contents
Running look for module 'Test::File::Contents' Trying to open a subshell in the build directory... Working directory is E:\usr\cpan\build\Test-File-Contents-0.05-7827Fv Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. E:\usr\cpan\build\Test-File-Contents-0.05-7827Fv> E:\usr\cpan\build\Test-File-Contents-0.05-7827Fv>prove -l t\10.basic.t t\10.basic.t .. 1/25 # Failed test 'file_md5sum works when incorrect' # at t\10.basic.t line 116. # STDERR is: # <[30m<[42m# File t<[30m<[41m\aaa.txt has md5sum 5c9597f3c8245907ea71a89d9d39d08e not 0123456789abcdef0123456789abcdef<[0m # <[30m<[41m# Failed test 'file matches md5sum'<[0m # <[30m<[41m# at t\10.basic.t line 115.<[0m # <[30m<[41m<[0m # not: # <[30m<[42m# File t<[30m<[41m/aaa.txt has md5sum 5c9597f3c8245907ea71a89d9d39d08e not 0123456789abcdef0123456789abcdef<[0m # <[30m<[41m<[0m # <[30m<[41m/#\s+Failed\ test.*?\n?.*?at\ t\\10\.basic\.t line 115.*\n?/<[0m # <[30m<[41m<[0m # as expected # Failed test 'file_contents_identical works when incorrect' # at t\10.basic.t line 136. # STDERR is: # <[30m<[42m# Files t<[30m<[41m\aaa.txt and t\bbb.txt are not identical.<[0m # <[30m<[41m# Failed test 'file contents identical'<[0m # <[30m<[41m# at t\10.basic.t line 135.<[0m # <[30m<[41m<[0m # not: # <[30m<[42m# Files t<[30m<[41m/aaa.txt and t/bbb.txt are not identical.<[0m # <[30m<[41m<[0m # <[30m<[41m/#\s+Failed\ test.*?\n?.*?at\ t\\10\.basic\.t line 135.*\n?/<[0m # <[30m<[41m<[0m # as expected t\10.basic.t .. Failed 2/25 subtests Test Summary Report ------------------- t\10.basic.t (Wstat: 0 Tests: 25 Failed: 2) Failed tests: 21, 25 Files=1, Tests=25, 0 wallclock secs ( 0.01 usr + 0.02 sys = 0.03 CPU) Result: FAIL E:\usr\cpan\build\Test-File-Contents-0.05-7827Fv> HTH --Octavian
On Thu Oct 28 03:46:02 2010, orasnita@gmail.com wrote: Show quoted text
> Hi, > > I have tried to install Test::File::Contents under Windows XP Pro with > cpan and Perl 5.10.1 but the test of this file gave the error below. > (Maybe because of different end of line endings under Windows...)
I believe I've fixed this. Would you mind grabbing the source from GitHub and giving it a try? http://github.com/theory/test-file-contents/ Thanks, David
Subject: Re: [rt.cpan.org #62509] Bug in Test::File::Contents
Date: Fri, 18 Feb 2011 23:37:50 +0200
To: <bug-Test-File-Contents [...] rt.cpan.org>
From: "Octavian Rasnita" <orasnita [...] gmail.com>
Hi, I have tried again, with another error it found in another testing module: E:\test_file_contents\theory-test-file-contents-v0.10-0-gb903f59\theory-test-file-contents-c48921b>perl Build test t\10.basic.t ...... ok t\pod-coverage.t .. ok t\pod-spelling.t .. 'spell' is not recognized as an internal or external command, operable program or batch file. Died at E:/usr/site/lib/Test/Spelling.pm line 54. # Looks like your test exited with 1 before it could output anything. t\pod-spelling.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t\pod.t ........... ok Test Summary Report ------------------- t\pod-spelling.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=4, Tests=35, 1 wallclock secs ( 0.03 usr + 0.01 sys = 0.05 CPU) Result: FAIL Failed 1/4 test programs. 0/35 subtests failed. E:\test_file_contents\theory-test-file-contents-v0.10-0-gb903f59\theory-test-file-contents-c48921b>prove -l t\pod-spelling.t t\pod-spelling.t .. 'spell' is not recognized as an internal or external command, operable program or batch file. Died at E:/usr/site/lib/Test/Spelling.pm line 54. # Looks like your test exited with 1 before it could output anything. t\pod-spelling.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t\pod-spelling.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=1, Tests=0, 1 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL I guess that module uses an external program as a command line which is not available under Windows, and it doesn't test if that program is present. Octavian Show quoted text
----- Original Message ----- From: "David Wheeler via RT" <bug-Test-File-Contents@rt.cpan.org> To: <orasnita@gmail.com> Sent: Friday, February 18, 2011 10:04 PM Subject: [rt.cpan.org #62509] Bug in Test::File::Contents
> <URL: https://rt.cpan.org/Ticket/Display.html?id=62509 > > > On Thu Oct 28 03:46:02 2010, orasnita@gmail.com wrote:
>> Hi, >> >> I have tried to install Test::File::Contents under Windows XP Pro with >> cpan and Perl 5.10.1 but the test of this file gave the error below. >> (Maybe because of different end of line endings under Windows...)
> > I believe I've fixed this. Would you mind grabbing the source from GitHub and giving it a try? > > http://github.com/theory/test-file-contents/ > > Thanks, > > David