changeset 1032:43eedbfea090

Tests: add missing sni prerequisites.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 14 Sep 2016 19:55:29 +0300
parents be45fa007655
children 45c80276d691
files h2_ssl_verify_client.t ssl_verify_client.t stream_ssl_variables.t
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/h2_ssl_verify_client.t
+++ b/h2_ssl_verify_client.t
@@ -30,7 +30,7 @@ plan(skip_all => 'IO::Socket::SSL with O
 eval { IO::Socket::SSL->can_alpn() or die; };
 plan(skip_all => 'OpenSSL ALPN support required') if $@;
 
-my $t = Test::Nginx->new()->has(qw/http http_ssl http_v2/)
+my $t = Test::Nginx->new()->has(qw/http http_ssl sni http_v2/)
 	->has_daemon('openssl')->plan(3);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
--- a/ssl_verify_client.t
+++ b/ssl_verify_client.t
@@ -27,7 +27,7 @@ plan(skip_all => 'IO::Socket::SSL not in
 eval { IO::Socket::SSL->can_client_sni() or die; };
 plan(skip_all => 'IO::Socket::SSL with OpenSSL SNI support required') if $@;
 
-my $t = Test::Nginx->new()->has(qw/http http_ssl/)
+my $t = Test::Nginx->new()->has(qw/http http_ssl sni/)
 	->has_daemon('openssl')->plan(3);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
--- a/stream_ssl_variables.t
+++ b/stream_ssl_variables.t
@@ -40,7 +40,7 @@ eval {
 };
 plan(skip_all => 'Net::SSLeay with OpenSSL SNI support required') if $@;
 
-my $t = Test::Nginx->new()->has(qw/stream stream_ssl stream_return/)
+my $t = Test::Nginx->new()->has(qw/stream stream_ssl sni stream_return/)
 	->has_daemon('openssl');
 
 $t->write_file_expand('nginx.conf', <<'EOF');