Skip to content

Commit b4d1a11

Browse files
committed
Tests: removed rewrite dependency in proxy_protocol2_tlv.t.
1 parent 06aab01 commit b4d1a11

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

proxy_protocol2_tlv.t

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use Test::Nginx;
2323
select STDERR; $| = 1;
2424
select STDOUT; $| = 1;
2525

26-
my $t = Test::Nginx->new()->has(qw/http map rewrite/)
26+
my $t = Test::Nginx->new()->has(qw/http map/)
2727
->write_file_expand('nginx.conf', <<'EOF');
2828
2929
%%TEST_GLOBALS%%
@@ -73,12 +73,14 @@ http {
7373
listen 127.0.0.1:8080 proxy_protocol;
7474
server_name localhost;
7575
76-
location / { return 200; }
76+
location / { }
7777
}
7878
}
7979
8080
EOF
8181

82+
$t->write_file('t1', 'SEE-THIS');
83+
8284
plan(skip_all => 'not yet') unless $t->has_version('1.23.2');
8385
$t->plan(15);
8486

0 commit comments

Comments
 (0)