comparison 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
comparison
equal deleted inserted replaced
1112:79f93c764353 1113:41690e007ad8
79 like(http_get('/var?b=127.0.0.1:' . port(8081) . '/'), qr/SEE-THIS/, 79 like(http_get('/var?b=127.0.0.1:' . port(8081) . '/'), qr/SEE-THIS/,
80 'proxy with variables'); 80 'proxy with variables');
81 like(http_get('/var?b=u/'), qr/SEE-THIS/, 'proxy with variables to upstream'); 81 like(http_get('/var?b=u/'), qr/SEE-THIS/, 'proxy with variables to upstream');
82 82
83 SKIP: { 83 SKIP: {
84 skip 'no ipv6', 1 unless $t->has_module('ipv6') 84 skip 'no ipv6', 1 unless $t->has_module('ipv6') or $t->has_feature('ipv6')
85 and socket(my $s, &AF_INET6, &SOCK_STREAM, 0); 85 and socket(my $s, &AF_INET6, &SOCK_STREAM, 0);
86 86
87 TODO: { 87 TODO: {
88 todo_skip 'heap-buffer-overflow', 1 88 todo_skip 'heap-buffer-overflow', 1
89 unless $ENV{TEST_NGINX_UNSAFE} or $t->has_version('1.11.0'); 89 unless $ENV{TEST_NGINX_UNSAFE} or $t->has_version('1.11.0');