# HG changeset patch # User Sergey Kandaurov # Date 1473872129 -10800 # Node ID 43eedbfea090fdb9c20106a43a2f4c4104e82e8d # Parent be45fa007655086cf09f58bce1ff09cf423c2d6a Tests: add missing sni prerequisites. diff --git a/h2_ssl_verify_client.t b/h2_ssl_verify_client.t --- 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'); diff --git a/ssl_verify_client.t b/ssl_verify_client.t --- 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'); diff --git a/stream_ssl_variables.t b/stream_ssl_variables.t --- 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');