changeset 3:7170c171150c

Gunzip: better test dependencies.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 27 Dec 2009 03:40:28 +0300
parents 5fc44c8ba213
children 2698bf018167
files t/gunzip-perl.t t/gunzip-ssi.t t/gunzip.t
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/t/gunzip-perl.t
+++ b/t/gunzip-perl.t
@@ -24,7 +24,7 @@ select STDOUT; $| = 1;
 eval { require IO::Compress::Gzip; };
 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@;
 
-my $t = Test::Nginx->new()->has('perl')->plan(2)
+my $t = Test::Nginx->new()->has(qw/http perl/)->plan(2)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
--- a/t/gunzip-ssi.t
+++ b/t/gunzip-ssi.t
@@ -20,7 +20,7 @@ select STDOUT; $| = 1;
 eval { require IO::Compress::Gzip; };
 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@;
 
-my $t = Test::Nginx->new()->has('--with-http_gzip_static_module')->plan(4);
+my $t = Test::Nginx->new()->has(qw/http ssi proxy gzip_static/)->plan(4);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
--- a/t/gunzip.t
+++ b/t/gunzip.t
@@ -20,7 +20,7 @@ select STDOUT; $| = 1;
 eval { require IO::Compress::Gzip; };
 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@;
 
-my $t = Test::Nginx->new()->has('--with-http_gzip_static_module')->plan(12);
+my $t = Test::Nginx->new()->has(qw/http proxy gzip_static/)->plan(12);
 
 $t->write_file_expand('nginx.conf', <<'EOF');