Mercurial > hg > nginx-tests
changeset 815:9f5f604a840e
Tests: skip proxy_protocol_ipv6.t on hosts without IPv6 support.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 21 Dec 2015 16:30:03 +0300 |
parents | b6b407fd5c12 |
children | 77359b849cd5 |
files | proxy_protocol_ipv6.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_protocol_ipv6.t Mon Dec 21 14:51:15 2015 +0300 +++ b/proxy_protocol_ipv6.t Mon Dec 21 16:30:03 2015 +0300 @@ -22,7 +22,7 @@ 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 @@ EOF $t->write_file('t', 'SEE-THIS'); -$t->run(); +$t->try_run('no inet6 support')->plan(3); ###############################################################################