changeset 302:07c600de2f90

Tests: added missing rewrite prerequisites.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 01 Jul 2013 13:42:29 +0400
parents a107552ac714
children ad51e58c2d7a
files gunzip.t secure_link.t upstream_ip_hash.t
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gunzip.t
+++ b/gunzip.t
@@ -24,7 +24,8 @@ 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(qw/http gunzip proxy gzip_static/)->plan(13);
+my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/)
+	->plan(13);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
--- a/secure_link.t
+++ b/secure_link.t
@@ -24,7 +24,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http secure_link/)->plan(9);
+my $t = Test::Nginx->new()->has(qw/http secure_link rewrite/)->plan(9);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
--- a/upstream_ip_hash.t
+++ b/upstream_ip_hash.t
@@ -23,7 +23,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http proxy upstream_ip_hash realip/)
+my $t = Test::Nginx->new()->has(qw/http proxy upstream_ip_hash realip rewrite/)
 	->write_file_expand('nginx.conf', <<'EOF')->run();
 
 %%TEST_GLOBALS%%