comparison 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
comparison
equal deleted inserted replaced
1169:518d1c865812 1170:cf14cfe9ec8c
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') or $t->has_feature('ipv6') 84 skip 'no ipv6', 1 unless socket(my $s, &AF_INET6, &SOCK_STREAM, 0);
85 and socket(my $s, &AF_INET6, &SOCK_STREAM, 0);
86 85
87 TODO: { 86 TODO: {
88 todo_skip 'heap-buffer-overflow', 1 87 todo_skip 'heap-buffer-overflow', 1
89 unless $ENV{TEST_NGINX_UNSAFE} or $t->has_version('1.11.0'); 88 unless $ENV{TEST_NGINX_UNSAFE} or $t->has_version('1.11.0');
90 89