Mercurial > hg > nginx-tests
comparison proxy_protocol.t @ 397:847ea345becb
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 05 May 2014 11:46:01 +0400 |
parents | 056d0ad0ef03 |
children | a36290485719 |
comparison
equal
deleted
inserted
replaced
396:5eb0df61f371 | 397:847ea345becb |
---|---|
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 access ipv6 realip/); | 27 my $t = Test::Nginx->new()->has(qw/http access ipv6 realip/); |
28 | |
29 plan(skip_all => 'no PROXY support') unless $t->has_version('1.5.12'); | |
30 | 28 |
31 $t->write_file_expand('nginx.conf', <<'EOF')->plan(18); | 29 $t->write_file_expand('nginx.conf', <<'EOF')->plan(18); |
32 | 30 |
33 %%TEST_GLOBALS%% | 31 %%TEST_GLOBALS%% |
34 | 32 |