Subject: | Test errors |
Hi,
I'm running into errors while trying to test this module. For starters, the tests could not find Apache::PAR until I installed it. After installing it into my libraries, tests 00module.t and 00unpack.t had failures.
I'm testing on Debian Linux (Sarge) with Perl 5.8.4. Here's the output from the tests:
t/00module......ok 6/8IO error: opening par/module.par for read : No such file or directory
Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8bb3354)', 'par/module.par') called at /usr/local/share/perl/5.8.2/Archive/Zip.pm line 522
Archive::Zip::Archive::new('Archive::Zip::Archive', 'par/module.par') called at /usr/local/share/perl/5.8.2/Archive/Zip.pm line 211
Archive::Zip::new('Archive::Zip', 'par/module.par') called at t/00module.t line 56
Can't call method "removeMember" on an undefined value at t/00module.t line 57.
t/00module......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 7-8
Failed 2/8 tests, 75.00% okay
t/00par.........skipped
all skipped: Test not yet implemented.
t/00perlrun.....ok
t/00registry....ok
t/00static......"my" variable $response masks earlier declaration in same scope at t/00static.t line 25.
"my" variable $response masks earlier declaration in same scope at t/00static.t line 55.
"my" variable $response masks earlier declaration in same scope at t/00static.t line 71.
t/00static......ok
t/00unpack......"my" variable $response masks earlier declaration in same scope at t/00unpack.t line 45.
"my" variable $response masks earlier declaration in same scope at t/00unpack.t line 73.
"my" variable $response masks earlier declaration in same scope at t/00unpack.t line 94.
t/00unpack......ok 4/6IO error: opening par/unpack.par for read : No such file or directory
Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8aa1a7c)', 'par/unpack.par') called at /usr/local/share/perl/5.8.2/Archive/Zip.pm line 522
Archive::Zip::Archive::new('Archive::Zip::Archive', 'par/unpack.par') called at /usr/local/share/perl/5.8.2/Archive/Zip.pm line 211
Archive::Zip::new('Archive::Zip', 'par/unpack.par') called at t/00unpack.t line 61
Can't call method "addString" on an undefined value at t/00unpack.t line 62.
t/00unpack......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-6
Failed 2/6 tests, 66.67% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00module.t 255 65280 8 4 50.00% 7-8
t/00unpack.t 255 65280 6 4 66.67% 5-6
1 test skipped.
Failed 2/6 test scripts, 66.67% okay. 4/40 subtests failed, 90.00% okay.
Thanks,
William