Mercurial > hg > nginx-tests
comparison gunzip_static.t @ 914:3ac4036b139d
Tests: fixed proxy prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 22 Apr 2016 16:22:00 +0300 |
parents | cbd26265d9a3 |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
913:dba252c2afd6 | 914:3ac4036b139d |
---|---|
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 eval { require IO::Compress::Gzip; }; | 25 eval { require IO::Compress::Gzip; }; |
26 plan(skip_all => "IO::Compress::Gzip not found") if $@; | 26 plan(skip_all => "IO::Compress::Gzip not found") if $@; |
27 | 27 |
28 my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/); | 28 my $t = Test::Nginx->new()->has(qw/http gunzip gzip_static rewrite/); |
29 | 29 |
30 $t->write_file_expand('nginx.conf', <<'EOF'); | 30 $t->write_file_expand('nginx.conf', <<'EOF'); |
31 | 31 |
32 %%TEST_GLOBALS%% | 32 %%TEST_GLOBALS%% |
33 | 33 |