Change 34453 by [EMAIL PROTECTED] on 2008/10/01 16:55:42

        Fix Archive-Tar's 02_methods.t when IO::Compress::Bzip2 is absent

Affected files ...

... //depot/perl/lib/Archive/Tar/t/02_methods.t#15 edit

Differences ...

==== //depot/perl/lib/Archive/Tar/t/02_methods.t#15 (text) ====
Index: perl/lib/Archive/Tar/t/02_methods.t
--- perl/lib/Archive/Tar/t/02_methods.t#14~34452~       2008-10-01 
09:53:57.000000000 -0700
+++ perl/lib/Archive/Tar/t/02_methods.t 2008-10-01 09:55:42.000000000 -0700
@@ -73,7 +73,8 @@
 
 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;
 
End of Patch.

Reply via email to