changeset 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 79f93c764353
children c5df4742ad40
files proxy.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: {