Mercurial > hg > nginx-tests
comparison gunzip_memcached.t @ 309:6c5597ad40a3
Tests: added one more missing rewrite prerequisite.
This change was missed in 07c600de2f90.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 12 Jul 2013 15:47:19 +0400 |
parents | 6a0d934950bc |
children | c28ecaef065f |
comparison
equal
deleted
inserted
replaced
308:26147426718c | 309:6c5597ad40a3 |
---|---|
25 plan(skip_all => 'Cache::Memcached not installed') if $@; | 25 plan(skip_all => 'Cache::Memcached not installed') if $@; |
26 | 26 |
27 eval { require IO::Compress::Gzip; }; | 27 eval { require IO::Compress::Gzip; }; |
28 plan(skip_all => "IO::Compress::Gzip not found") if $@; | 28 plan(skip_all => "IO::Compress::Gzip not found") if $@; |
29 | 29 |
30 my $t = Test::Nginx->new()->has(qw/http gunzip memcached/) | 30 my $t = Test::Nginx->new()->has(qw/http gunzip memcached rewrite/) |
31 ->has_daemon('memcached') | 31 ->has_daemon('memcached') |
32 ->write_file_expand('nginx.conf', <<'EOF'); | 32 ->write_file_expand('nginx.conf', <<'EOF'); |
33 | 33 |
34 %%TEST_GLOBALS%% | 34 %%TEST_GLOBALS%% |
35 | 35 |