Mercurial > hg > nginx-tests
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 Wed Sep 14 17:30:58 2016 +0300 +++ b/h2_ssl_verify_client.t Wed Sep 14 19:55:29 2016 +0300 @@ -30,7 +30,7 @@ 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 Wed Sep 14 17:30:58 2016 +0300 +++ b/ssl_verify_client.t Wed Sep 14 19:55:29 2016 +0300 @@ -27,7 +27,7 @@ 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 Wed Sep 14 17:30:58 2016 +0300 +++ b/stream_ssl_variables.t Wed Sep 14 19:55:29 2016 +0300 @@ -40,7 +40,7 @@ }; 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');