Mercurial > hg > nginx-tests
changeset 1803:4627e750efdd
Tests: removed rewrite dependency in proxy_protocol2_tlv.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 10 Nov 2022 16:40:05 +0400 |
parents | 506e1a716fe8 |
children | 35e88bf538c1 |
files | proxy_protocol2_tlv.t |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_protocol2_tlv.t Thu Nov 10 16:37:54 2022 +0400 +++ b/proxy_protocol2_tlv.t Thu Nov 10 16:40:05 2022 +0400 @@ -23,7 +23,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http map rewrite/) +my $t = Test::Nginx->new()->has(qw/http map/) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -73,12 +73,14 @@ listen 127.0.0.1:8080 proxy_protocol; server_name localhost; - location / { return 200; } + location / { } } } EOF +$t->write_file('t1', 'SEE-THIS'); + plan(skip_all => 'not yet') unless $t->has_version('1.23.2'); $t->plan(15);