comparison t/gunzip.t @ 3:7170c171150c

Gunzip: better test dependencies.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 27 Dec 2009 03:40:28 +0300
parents 0dd7d109e56b
children b12d2ee20755
comparison
equal deleted inserted replaced
2:5fc44c8ba213 3:7170c171150c
18 select STDOUT; $| = 1; 18 select STDOUT; $| = 1;
19 19
20 eval { require IO::Compress::Gzip; }; 20 eval { require IO::Compress::Gzip; };
21 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; 21 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@;
22 22
23 my $t = Test::Nginx->new()->has('--with-http_gzip_static_module')->plan(12); 23 my $t = Test::Nginx->new()->has(qw/http proxy gzip_static/)->plan(12);
24 24
25 $t->write_file_expand('nginx.conf', <<'EOF'); 25 $t->write_file_expand('nginx.conf', <<'EOF');
26 26
27 master_process off; 27 master_process off;
28 daemon off; 28 daemon off;