comparison ssl_proxy_protocol.t @ 1170:cf14cfe9ec8c

Tests: dropped obsolete ipv6 prerequisite.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 04 May 2017 14:31:09 +0300
parents 8821e405b91e
children 0af58b78df35
comparison
equal deleted inserted replaced
1169:518d1c865812 1170:cf14cfe9ec8c
27 eval { require IO::Socket::SSL; }; 27 eval { require IO::Socket::SSL; };
28 plan(skip_all => 'IO::Socket::SSL not installed') if $@; 28 plan(skip_all => 'IO::Socket::SSL not installed') if $@;
29 eval { IO::Socket::SSL::SSL_VERIFY_NONE(); }; 29 eval { IO::Socket::SSL::SSL_VERIFY_NONE(); };
30 plan(skip_all => 'IO::Socket::SSL too old') if $@; 30 plan(skip_all => 'IO::Socket::SSL too old') if $@;
31 31
32 my $t = Test::Nginx->new()->has(qw/http http_ssl access ipv6 realip/) 32 my $t = Test::Nginx->new()->has(qw/http http_ssl access realip/)
33 ->has_daemon('openssl'); 33 ->has_daemon('openssl');
34 34
35 $t->write_file_expand('nginx.conf', <<'EOF')->plan(18); 35 $t->write_file_expand('nginx.conf', <<'EOF')->plan(18);
36 36
37 %%TEST_GLOBALS%% 37 %%TEST_GLOBALS%%