Mercurial > hg > nginx-tests
comparison proxy_variables.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | 3bc5df417f62 |
comparison
equal
deleted
inserted
replaced
1019:41139d6f8b7b | 1020:196d33c2bb45 |
---|---|
20 ############################################################################### | 20 ############################################################################### |
21 | 21 |
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 my $t = Test::Nginx->new()->has(qw/http proxy/) | 25 my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(18) |
26 ->write_file_expand('nginx.conf', <<'EOF'); | 26 ->write_file_expand('nginx.conf', <<'EOF'); |
27 | 27 |
28 %%TEST_GLOBALS%% | 28 %%TEST_GLOBALS%% |
29 | 29 |
30 daemon off; | 30 daemon off; |
74 | 74 |
75 EOF | 75 EOF |
76 | 76 |
77 $t->write_file('stub', ''); | 77 $t->write_file('stub', ''); |
78 $t->run_daemon(\&http_daemon, port(8081)); | 78 $t->run_daemon(\&http_daemon, port(8081)); |
79 $t->try_run('no upstream_connect_time')->plan(18); | 79 $t->run(); |
80 | 80 |
81 $t->waitforsocket('127.0.0.1:' . port(8081)); | 81 $t->waitforsocket('127.0.0.1:' . port(8081)); |
82 | 82 |
83 ############################################################################### | 83 ############################################################################### |
84 | 84 |