From: Steve Hay Date: Wed, 1 Oct 2008 16:55:42 +0000 (+0000) Subject: Fix Archive-Tar's 02_methods.t when IO::Compress::Bzip2 is absent X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ccadbde5117ca2083980e2ed7e909f56552e473;p=p5sagit%2Fp5-mst-13.2.git Fix Archive-Tar's 02_methods.t when IO::Compress::Bzip2 is absent p4raw-id: //depot/perl@34453 --- diff --git a/lib/Archive/Tar/t/02_methods.t b/lib/Archive/Tar/t/02_methods.t index 636760f..7354e6c 100644 --- a/lib/Archive/Tar/t/02_methods.t +++ b/lib/Archive/Tar/t/02_methods.t @@ -73,7 +73,8 @@ if ($TOO_LONG) { my @ROOT = grep { length } 'src', $TOO_LONG ? 'short' : 'long'; -my $ZLIB = eval { require IO::Zlib; 1 } ? 1 : 0; +my $ZLIB = eval { require IO::Zlib; + require IO::Compress::Bzip2; 1 } ? 1 : 0; my $BZIP = eval { require IO::Uncompress::Bunzip2; require IO::Compress::Bzip2; 1 } ? 1 : 0;