Mercurial > hg > nginx-tests
comparison fastcgi_keepalive.t @ 275:6cbcfb4ef7ee
Tests: correct has() checks for upstream keepalive tests.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 21 Mar 2013 22:00:45 +0400 |
parents | 36c75df75ca4 |
children | 94f8ee2f6688 |
comparison
equal
deleted
inserted
replaced
274:ccebd3168b5b | 275:6cbcfb4ef7ee |
---|---|
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()->write_file_expand('nginx.conf', <<'EOF')->plan(6); | 24 my $t = Test::Nginx->new()->has(qw/http fastcgi upstream_keepalive/)->plan(6) |
25 ->write_file_expand('nginx.conf', <<'EOF'); | |
25 | 26 |
26 %%TEST_GLOBALS%% | 27 %%TEST_GLOBALS%% |
27 | 28 |
28 daemon off; | 29 daemon off; |
29 | 30 |