Mercurial > hg > nginx-tests
comparison http_error_page.t @ 310:25f2ba615000
Tests: added missing proxy prerequisites.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 12 Jul 2013 17:54:51 +0400 |
parents | 6a0d934950bc |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
309:6c5597ad40a3 | 310:25f2ba615000 |
---|---|
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(7) | 24 my $t = Test::Nginx->new()->has(qw/http proxy rewrite/)->plan(7) |
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; |