Mercurial > hg > nginx-tests
comparison limit_conn_complex.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 | c94fc8e41f5f |
children | 2cd00179f4b2 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
24 select STDERR; $| = 1; | 24 select STDERR; $| = 1; |
25 select STDOUT; $| = 1; | 25 select STDOUT; $| = 1; |
26 | 26 |
27 plan(skip_all => 'win32') if $^O eq 'MSWin32'; | 27 plan(skip_all => 'win32') if $^O eq 'MSWin32'; |
28 | 28 |
29 my $t = Test::Nginx->new()->has(qw/http proxy limit_conn limit_req/); | 29 my $t = Test::Nginx->new()->has(qw/http proxy limit_conn limit_req/)->plan(4); |
30 | 30 |
31 $t->write_file_expand('nginx.conf', <<'EOF'); | 31 $t->write_file_expand('nginx.conf', <<'EOF'); |
32 | 32 |
33 %%TEST_GLOBALS%% | 33 %%TEST_GLOBALS%% |
34 | 34 |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 EOF | 65 EOF |
66 | 66 |
67 $t->try_run('no complex value')->plan(4); | 67 $t->run(); |
68 | 68 |
69 ############################################################################### | 69 ############################################################################### |
70 | 70 |
71 my $s; | 71 my $s; |
72 | 72 |