Mercurial > hg > nginx-tests
comparison proxy_request_buffering.t @ 568:907e89fba9c3
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 03 May 2015 12:45:09 +0300 |
parents | dbf8fb0f3d30 |
children | 68a6678abae2 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
22 ############################################################################### | 22 ############################################################################### |
23 | 23 |
24 select STDERR; $| = 1; | 24 select STDERR; $| = 1; |
25 select STDOUT; $| = 1; | 25 select STDOUT; $| = 1; |
26 | 26 |
27 my $t = Test::Nginx->new()->has(qw/http proxy rewrite/); | 27 my $t = Test::Nginx->new()->has(qw/http proxy rewrite/)->plan(18); |
28 | 28 |
29 $t->write_file_expand('nginx.conf', <<'EOF'); | 29 $t->write_file_expand('nginx.conf', <<'EOF'); |
30 | 30 |
31 %%TEST_GLOBALS%% | 31 %%TEST_GLOBALS%% |
32 | 32 |
86 } | 86 } |
87 } | 87 } |
88 | 88 |
89 EOF | 89 EOF |
90 | 90 |
91 $t->try_run('no proxy_request_buffering')->plan(18); | 91 $t->run(); |
92 | 92 |
93 ############################################################################### | 93 ############################################################################### |
94 | 94 |
95 unlike(http_get('/'), qr/X-Body:/ms, 'no body'); | 95 unlike(http_get('/'), qr/X-Body:/ms, 'no body'); |
96 | 96 |