Skip Menu |

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

Report information
The Basics
Id: 43
Status: resolved
Priority: 0/
Queue: Test-Inline

People
Owner: Nobody in particular
Requestors: mstevens [...] etla.org
Cc:
AdminCc:

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



Subject: Test::Inline test failure
Hi. I got tests failures trying to install Test::Inline 0.12 in perl 5.6.1 on debian linux: PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/Tests.......ok t/pod2test....# Failed test (t/Tests.t at line 147) # got: 'ok 1 # ok 2 - foo is false # ok 3 - foo is zero # ok 4 - example from line 113 # ok 5 - example from line 122 # ok 6 - example from line 131 # ok 7 - addition works # ok 8 - example from line 142 # Hello, world! # ok 9 - $_STDERR_ # ' # expected: 'Hello, world! # ' # Looks like you failed 1 tests of 11. t/pod2test....dubious Test returned status 1 (wstat 256, 0x100) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/pod2test.t 1 256 ?? ?? % ?? Failed 1/2 test scripts, 50.00% okay. 0/18 subtests failed, 100.00% okay. make: *** [test_dynamic] Error 1 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Versions of some test related modules are: Package namespace installed latest in CPAN file Test::Builder 0.03 0.05 M/MS/MSCHWERN/Test-Simple-0.33.tar.gz Test::Harness 1.25 1.26 M/MS/MSCHWERN/Test-Harness-1.26.tar.gz Test::Inline 0.11 0.12 M/MS/MSCHWERN/Test-Inline-0.12.tar.gz Michael
[MSTEVENS - Thu Nov 15 08:49:42 2001]: Show quoted text
> I got tests failures trying to install Test::Inline 0.12 in perl 5.6.1 > on debian linux: > > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib > -I/usr/local/lib/perl5/5.6.1/i686-linux > -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests > $verbose); $verbose=0; runtests @ARGV;' t/*.t > t/Tests.......ok > t/pod2test....# Failed test (t/Tests.t at line 147) > # got: 'ok 1 > # ok 2 - foo is false > # ok 3 - foo is zero > # ok 4 - example from line 113 > # ok 5 - example from line 122 > # ok 6 - example from line 131 > # ok 7 - addition works > # ok 8 - example from line 142 > # Hello, world! > # ok 9 - $_STDERR_ > # ' > # expected: 'Hello, world! > # ' > # Looks like you failed 1 tests of 11.
Has 0.14 fixed this?
Oh, I remember what caused this. Test::More 0.30 broke the assumption that you can safely redirect STDERR and STDOUT in a test. 0.33 restored it. This should be fixed if you upgrade Test::More (which you probably have)