develooper Front page | perl.perl5.porters | Postings from November 2005

Question on lib/archive/tar.t/02_methods.t on VMS

Thread Next
From:
John E. Malmberg
Date:
November 28, 2005 20:37
Subject:
Question on lib/archive/tar.t/02_methods.t on VMS
Message ID:
438BDADE.2030603@qsl.net
I can not find where the file bar.tar is being created in this test.

The test is failing on VMS because it does not exist at the read phase.

ok 14 - Object created - read
ok 15 - The object isa Archive::Tar
# type = [.src.short]bar.tar
# state = uncompressed
Could not create filehandle for '[.src.short]bar.tar': no such file or 
directory! at [-.lib.archive.tar.t]02_methods.t line 161
  at ../../../Archive/Tar.pm line 1150
         Archive::Tar::_error('Archive::Tar=HASH(0xc22260)', 'Could not 
create filehandle for \'[.src.short]bar.tar\': no s...') called at ../../.
./Archive/Tar.pm line 216
         Archive::Tar::_get_handle('Archive::Tar=HASH(0xc22260)', 
'[.src.short]bar.tar', 0, 'rb') called at ../../../Archive/Tar.pm line 177
         Archive::Tar::read('Archive::Tar=HASH(0xc22260)', 
'[.src.short]bar.tar') called at [-.lib.archive.tar.t]02_methods.t line 161
# list =
not ok 16 - Reading uncompressed file using 'read()'

This module is proving resistant to using the Perl debugger to see what 
is going on, so I have had to resort to adding print statements.

-John
wb8tyw@qsl.net
Personal Opinion Only

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About