# HG changeset patch # User Sergey Kandaurov # Date 1668084005 -14400 # Node ID 4627e750efdd7cf0338d1056c9f6767d41dfcc06 # Parent 506e1a716fe808a86d9ce398903cef09c001f8d9 Tests: removed rewrite dependency in proxy_protocol2_tlv.t. diff --git a/proxy_protocol2_tlv.t b/proxy_protocol2_tlv.t --- a/proxy_protocol2_tlv.t +++ b/proxy_protocol2_tlv.t @@ -23,7 +23,7 @@ use Test::Nginx; 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 @@ http { 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);