Mercurial > hg > nginx-tests
diff proxy.t @ 1113:41690e007ad8
Tests: run proxy.t ipv6 test on mainline built without --with-ipv6.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 18 Jan 2017 19:34:41 +0300 |
parents | cbc8641a204e |
children | cf14cfe9ec8c |
line wrap: on
line diff
--- a/proxy.t +++ b/proxy.t @@ -81,7 +81,7 @@ like(http_get('/var?b=127.0.0.1:' . port like(http_get('/var?b=u/'), qr/SEE-THIS/, 'proxy with variables to upstream'); SKIP: { -skip 'no ipv6', 1 unless $t->has_module('ipv6') +skip 'no ipv6', 1 unless $t->has_module('ipv6') or $t->has_feature('ipv6') and socket(my $s, &AF_INET6, &SOCK_STREAM, 0); TODO: {