Mercurial > hg > nginx-tests
changeset 1400:94bcad5611af
Tests: skip OCSP stapling and multiple cert tests with BoringSSL.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 19 Nov 2018 19:28:15 +0300 |
parents | de181159f279 |
children | 2b461d4af65f |
files | ssl_certificates.t ssl_stapling.t |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ssl_certificates.t Mon Nov 19 18:14:37 2018 +0300 +++ b/ssl_certificates.t Mon Nov 19 19:28:15 2018 +0300 @@ -33,6 +33,8 @@ my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl'); +plan(skip_all => 'no multiple certificates') if $t->has_module('BoringSSL'); + $t->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%
--- a/ssl_stapling.t Mon Nov 19 18:14:37 2018 +0300 +++ b/ssl_stapling.t Mon Nov 19 19:28:15 2018 +0300 @@ -34,8 +34,11 @@ }; plan(skip_all => 'Net::SSLeay not installed or too old') if $@; -my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl') - ->plan(9)->write_file_expand('nginx.conf', <<'EOF'); +my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl'); + +plan(skip_all => 'no OCSP stapling') if $t->has_module('BoringSSL'); + +$t->plan(9)->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%