Mercurial > hg > nginx-tests
comparison proxy_protocol2.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 | 3eb1de7e3b41 |
children | b3bbb59dc324 |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
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 access realip/); | 25 my $t = Test::Nginx->new()->has(qw/http access realip/); |
26 | |
27 plan(skip_all => 'no proxy protocol v2') unless $t->has_version('1.13.11'); | |
28 | 26 |
29 $t->write_file_expand('nginx.conf', <<'EOF')->plan(21); | 27 $t->write_file_expand('nginx.conf', <<'EOF')->plan(21); |
30 | 28 |
31 %%TEST_GLOBALS%% | 29 %%TEST_GLOBALS%% |
32 | 30 |