Skip Menu |

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

Report information
The Basics
Id: 19924
Status: resolved
Priority: 0/
Queue: File-Slurp

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

Bug Information
Severity: Unimportant
Broken in: 9999.11
Fixed in: 9999.11



Subject: make test failure on Cygwin for 9999.12
Version 9999.12 fails on Cygwin. CYGWIN_NT-5.1 chorny 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin This is perl, v5.8.7 built for cygwin-thread-multi-64int (with 1 registered patch, see perl -V for more detail) Modified test to include data: print "\@slurp_lines:\n@slurp_lines\n"; print "\@data_lines:\n@data_lines\n"; ok( eq_array( \@data_lines, \@slurp_lines ), 'list slurp of DATA' ) ; make test TEST_FILES=t/data_list.t TEST_VERBOSE=1 > fileslurp.out 2>&1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/data_list.t t/data_list....1..2 ok 1 - use File::Slurp; # Failed test 'list slurp of DATA' # in t/data_list.t at line 52. # Looks like you failed 1 test of 2. @slurp_lines: line one second line more lines still more enough lines we can't test long handle slurps from DATA since i would have to type too much stuff so we will stop here @data_lines: line one second line more lines still more enough lin not ok 2 - list slurp of DATA dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/data_list.t 1 256 2 1 50.00% 2 Failed 1/1 test scripts, 0.00% okay. 1/2 subtests failed, 50.00% okay. make: *** [test_dynamic] Error 14 ------- Alexandr Ciornii, http://chorny.net
From: Alexandr Ciornii <alexchorny [...] gmail.com>
Show quoted text
> Version 9999.12 fails on Cygwin. > > CYGWIN_NT-5.1 chorny 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin
It is very strange, but error disappeared after upgrade to Cygwin dll 1.5.20. Now t/handle.t has random errors. At most times, it works without errors, but can hang after test 2. Or this error: t/handle..........ok 3/4# Looks like you planned 4 tests but ran 2 extra. t/handle..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-6 Failed 2/4 tests, 50.00% okay (less 4 skipped tests: -2 okay, -50.00%) ------- Alexandr Ciornii, http://chorny.net