Mercurial > hg > nginx-tests
comparison subrequest_output_buffer_size.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 22a8982d5de6 |
children |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
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 ssi/) | 25 my $t = Test::Nginx->new()->has(qw/http proxy ssi/)->plan(4) |
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; |
69 | 69 |
70 $t->write_file('length', 'TEST-OK-IF-YOU-SEE-THIS'); | 70 $t->write_file('length', 'TEST-OK-IF-YOU-SEE-THIS'); |
71 $t->write_file('long', 'x' x 400); | 71 $t->write_file('long', 'x' x 400); |
72 $t->write_file('empty', ''); | 72 $t->write_file('empty', ''); |
73 | 73 |
74 $t->try_run('no subrequest_output_buffer_size')->plan(4); | 74 $t->run(); |
75 | 75 |
76 ############################################################################### | 76 ############################################################################### |
77 | 77 |
78 my ($r, $n); | 78 my ($r, $n); |
79 | 79 |