Mercurial > hg > nginx-tests
diff ssl_stapling.t @ 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 | d3d2aabe16dd |
children | 8c764fd93b5e |
line wrap: on
line diff
--- 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%%