This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX.xs: Never pass NULL to ctermid()
[perl5.git] / cpan / IO-Compress / t / 101truncate-gzip.t
CommitLineData
25f0751f
PM
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
12#use Test::More skip_all => "not implemented yet";
13use Test::More ;
14
15BEGIN {
3acdfe42
CBW
16 plan skip_all => "Lengthy Tests Disabled\n" .
17 "set COMPRESS_ZLIB_RUN_ALL or COMPRESS_ZLIB_RUN_MOST to run this test suite"
18 unless defined $ENV{COMPRESS_ZLIB_RUN_ALL} or defined $ENV{COMPRESS_ZLIB_RUN_MOST};
19
25f0751f
PM
20 # use Test::NoWarnings, if available
21 my $extra = 0 ;
22 $extra = 1
23 if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 };
24
0c5ce8df 25 plan tests => 3040 + $extra;
25f0751f
PM
26
27};
28
29
30
31use IO::Compress::Gzip qw($GzipError) ;
32use IO::Uncompress::Gunzip qw($GunzipError) ;
33
34sub identify
35{
36 return 'IO::Compress::Gzip';
37}
38
39require "truncate.pl" ;
40run();