diff proxy.t @ 1170:cf14cfe9ec8c

Tests: dropped obsolete ipv6 prerequisite.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 04 May 2017 14:31:09 +0300
parents 41690e007ad8
children cdbdb75cf194
line wrap: on
line diff
--- a/proxy.t
+++ b/proxy.t
@@ -81,8 +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') or $t->has_feature('ipv6')
-	and socket(my $s, &AF_INET6, &SOCK_STREAM, 0);
+skip 'no ipv6', 1 unless socket(my $s, &AF_INET6, &SOCK_STREAM, 0);
 
 TODO: {
 todo_skip 'heap-buffer-overflow', 1