Mercurial > hg > nginx-tests
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 Fri Jun 28 16:39:12 2013 +0400 +++ b/gunzip.t Mon Jul 01 13:42:29 2013 +0400 @@ -24,7 +24,8 @@ 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 Fri Jun 28 16:39:12 2013 +0400 +++ b/secure_link.t Mon Jul 01 13:42:29 2013 +0400 @@ -24,7 +24,7 @@ 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 Fri Jun 28 16:39:12 2013 +0400 +++ b/upstream_ip_hash.t Mon Jul 01 13:42:29 2013 +0400 @@ -23,7 +23,7 @@ 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%%