Subject: | make test fail in Archive::Zip 1.15 |
Hello, I noticed a "bug" in Archive::Zip from version 1.15. When I run the normal installation process it fails:
perl Makefile.PL: ok
make: ok
make test: not ok (see at the bottom)
This bug was reproduced on serveral OS including CentOS 4.1, Fedora Core 3, Mandriva 10.1 and the latest Ubuntu release. For example let's take CentOS 4.1 or Fedora Core 3 both with Perl 5.8.5, while running the "make test" I got this result:
[root@gamma Archive-Zip-1.15]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load...........ok 2/2# Testing Archive::Zip 1.15, Perl 5.008005, /usr/bin/perl
t/00.load...........ok
t/pod...............ok
t/test..............ok
t/testex............ok
t/testMemberRead....ok
t/testTree..........ok
t/testUpdate........ok
t/za_archive_zip....NOK 12# Failed test (t/za_archive_zip.t at line 36)
t/za_archive_zip....NOK 15# Failed test (t/za_archive_zip.t at line 42)
t/za_archive_zip....NOK 16# Failed test (t/za_archive_zip.t at line 43)
# got: 'IO::File=GLOB(0x84ea0a8)'
# expected: undef
t/za_archive_zip....NOK 17# Failed test (t/za_archive_zip.t at line 44)
# got: 'ziptest/5n4ltriKOe.zip'
# expected: undef
t/za_archive_zip....NOK 19# Failed test (t/za_archive_zip.t at line 46)
# got: '0'
# expected: '1'
# Directory not empty
t/za_archive_zip....NOK 20# Failed test (t/za_archive_zip.t at line 47)
t/za_archive_zip....ok 22/0# Looks like you failed 6 tests of 22.
t/za_archive_zip....dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 12, 15-17, 19-20
Failed 6/22 tests, 72.73% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/za_archive_zip.t 6 1536 22 6 27.27% 12 15-17 19-20
Failed 1/8 test scripts, 87.50% okay. 6/195 subtests failed, 96.92% okay.
make: *** [test_dynamic] Error 2
It was not broken in the last versions :)
Have a nice day...