comparison stream_limit_conn.t @ 866:5048b8f0fedd

Tests: removed try_run() checks for legacy versions.
author Andrey Zelenkov <zelenkov@nginx.com>
date Thu, 10 Mar 2016 19:58:01 +0300
parents 58a67c40a761
children e9064d691790
comparison
equal deleted inserted replaced
865:f8f8304c8832 866:5048b8f0fedd
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 stream stream_limit_conn shmem/) 25 my $t = Test::Nginx->new()->has(qw/http stream stream_limit_conn shmem/)
26 ->write_file_expand('nginx.conf', <<'EOF'); 26 ->plan(8)->write_file_expand('nginx.conf', <<'EOF');
27 27
28 %%TEST_GLOBALS%% 28 %%TEST_GLOBALS%%
29 29
30 daemon off; 30 daemon off;
31 31
79 } 79 }
80 80
81 EOF 81 EOF
82 82
83 $t->write_file('index.html', ''); 83 $t->write_file('index.html', '');
84 $t->try_run('no stream limit_conn')->plan(8); 84 $t->run();
85 85
86 ############################################################################### 86 ###############################################################################
87 87
88 like(get(), qr/200 OK/, 'passed'); 88 like(get(), qr/200 OK/, 'passed');
89 89