# HG changeset patch # User Sergey Kandaurov # Date 1450704603 -10800 # Node ID 9f5f604a840e7748160e9bd21bcd4d162b4466ea # Parent b6b407fd5c12534788a0295badcfaf069d89f2d7 Tests: skip proxy_protocol_ipv6.t on hosts without IPv6 support. diff --git a/proxy_protocol_ipv6.t b/proxy_protocol_ipv6.t --- a/proxy_protocol_ipv6.t +++ b/proxy_protocol_ipv6.t @@ -22,7 +22,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http ipv6 realip stream/)->plan(3); +my $t = Test::Nginx->new()->has(qw/http ipv6 realip stream/); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -64,7 +64,7 @@ stream { EOF $t->write_file('t', 'SEE-THIS'); -$t->run(); +$t->try_run('no inet6 support')->plan(3); ###############################################################################