comparison stream_ssl_realip.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 cdbdb75cf194
comparison
equal deleted inserted replaced
1169:518d1c865812 1170:cf14cfe9ec8c
28 eval { require IO::Socket::SSL; }; 28 eval { require IO::Socket::SSL; };
29 plan(skip_all => 'IO::Socket::SSL not installed') if $@; 29 plan(skip_all => 'IO::Socket::SSL not installed') if $@;
30 eval { IO::Socket::SSL::SSL_VERIFY_NONE(); }; 30 eval { IO::Socket::SSL::SSL_VERIFY_NONE(); };
31 plan(skip_all => 'IO::Socket::SSL too old') if $@; 31 plan(skip_all => 'IO::Socket::SSL too old') if $@;
32 32
33 my $t = Test::Nginx->new()->has(qw/stream stream_return stream_realip ipv6/) 33 my $t = Test::Nginx->new()->has(qw/stream stream_return stream_realip/)
34 ->has(qw/stream_ssl/)->has_daemon('openssl') 34 ->has(qw/stream_ssl/)->has_daemon('openssl')
35 ->write_file_expand('nginx.conf', <<'EOF'); 35 ->write_file_expand('nginx.conf', <<'EOF');
36 36
37 %%TEST_GLOBALS%% 37 %%TEST_GLOBALS%%
38 38