Mercurial > hg > nginx-tests
comparison gunzip.t @ 302:07c600de2f90
Tests: added missing rewrite prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 01 Jul 2013 13:42:29 +0400 |
parents | 6a0d934950bc |
children | c877f91a71b4 |
comparison
equal
deleted
inserted
replaced
301:a107552ac714 | 302:07c600de2f90 |
---|---|
22 select STDOUT; $| = 1; | 22 select STDOUT; $| = 1; |
23 | 23 |
24 eval { require IO::Compress::Gzip; }; | 24 eval { require IO::Compress::Gzip; }; |
25 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; | 25 Test::More::plan(skip_all => "IO::Compress::Gzip not found") if $@; |
26 | 26 |
27 my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static/)->plan(13); | 27 my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/) |
28 ->plan(13); | |
28 | 29 |
29 $t->write_file_expand('nginx.conf', <<'EOF'); | 30 $t->write_file_expand('nginx.conf', <<'EOF'); |
30 | 31 |
31 %%TEST_GLOBALS%% | 32 %%TEST_GLOBALS%% |
32 | 33 |