Move IO::Compress from ext/ to cpan/
[p5sagit/p5-mst-13.2.git] / cpan / IO-Compress / t / 101truncate-bzip2.t
CommitLineData
25f0751f 1BEGIN {
2 if ($ENV{PERL_CORE}) {
3 chdir 't' if -d 't';
4 @INC = ("../lib", "lib/compress");
5 }
6}
7
8use lib qw(t t/compress);
9use strict;
10use warnings;
11
25f0751f 12use Test::More ;
13
14BEGIN {
15 # use Test::NoWarnings, if available
16 my $extra = 0 ;
17 $extra = 1
18 if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 };
19
319fab50 20 plan tests => 912 + $extra;
25f0751f 21
22};
23
24
319fab50 25#use Test::More skip_all => "not implemented yet";
25f0751f 26
27
319fab50 28use IO::Compress::Bzip2 qw($Bzip2Error) ;
29use IO::Uncompress::Bunzip2 qw($Bunzip2Error) ;
25f0751f 30
31sub identify
32{
319fab50 33 'IO::Compress::Bzip2';
25f0751f 34}
35
36require "truncate.pl" ;
37run();