Mercurial > hg > nginx-tests
comparison access_log.t @ 1175:717030fd5a94
Tests: added gzip prerequisite for "access_log ... gzip".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 15 May 2017 19:14:29 +0300 |
parents | d10ec0f0bb6d |
children | 074e05b33b1a |
comparison
equal
deleted
inserted
replaced
1174:ec9ddfed9b63 | 1175:717030fd5a94 |
---|---|
19 ############################################################################### | 19 ############################################################################### |
20 | 20 |
21 select STDERR; $| = 1; | 21 select STDERR; $| = 1; |
22 select STDOUT; $| = 1; | 22 select STDOUT; $| = 1; |
23 | 23 |
24 my $t = Test::Nginx->new()->has(qw/http rewrite/)->plan(10) | 24 my $t = Test::Nginx->new()->has(qw/http rewrite gzip/)->plan(10) |
25 ->write_file_expand('nginx.conf', <<'EOF'); | 25 ->write_file_expand('nginx.conf', <<'EOF'); |
26 | 26 |
27 %%TEST_GLOBALS%% | 27 %%TEST_GLOBALS%% |
28 | 28 |
29 daemon off; | 29 daemon off; |