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
+++ b/ssl_certificates.t
@@ -33,6 +33,8 @@ plan(skip_all => 'Net::SSLeay not instal
 
 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
+++ b/ssl_stapling.t
@@ -34,8 +34,11 @@ eval {
 };
 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%%