Subject: | Test fails with older IO::File |
With IO::File 1.13 the tests fails. After upgrading to the latest IO::File they passed.
--> Working on Config::INI
Fetching http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Config-INI-0.017.tar.gz
-> OK
Unpacking Config-INI-0.017.tar.gz
Entering Config-INI-0.017
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.56)
Configuring Config-INI-0.017
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Config::INI
-> OK
Finding PREREQ from Makefile ...
Checking if you have Test::More 0.96 ... Yes (0.98)
Checking if you have IO::File 0 ... Yes (1.13)
Checking if you have IO::String 0 ... Yes (1.08)
Checking if you have Mixin::Linewise::Writers 0 ... Yes (0.003)
Checking if you have Mixin::Linewise::Readers 0 ... Yes (0.003)
Checking if you have Carp 0 ... Yes (1.04)
Building and testing Config-INI-0.017
cp lib/Config/INI/Reader.pm blib/lib/Config/INI/Reader.pm
cp lib/Config/INI.pm blib/lib/Config/INI.pm
cp lib/Config/INI/Writer.pm blib/lib/Config/INI/Writer.pm
Manifying blib/man3/Config::INI::Reader.3pm
Manifying blib/man3/Config::INI::Writer.3pm
Manifying blib/man3/Config::INI.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ............. ok
t/reader-err.t .......... ok
t/reader.t .............. ok
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing
Insecure dependency in open while running with -T switch at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/File.pm line 192.
# Looks like you planned 20 tests but ran 10.
# Looks like your test exited with 2 just after 10.
t/writer.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 10/20 subtests
Test Summary Report
-------------------
t/writer.t (Wstat: 512 Tests: 10 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 20 tests but ran 10.
Files=5, Tests=27, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.21 cusr 0.07 csys = 0.34 CPU)
Result: FAIL
Failed 1/5 test programs. 0/27 subtests failed.
make: *** [test_dynamic] Error 2