Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
1399:de181159f279 | 1400:94bcad5611af |
---|---|
32 Net::SSLeay::SSLeay(); | 32 Net::SSLeay::SSLeay(); |
33 defined &Net::SSLeay::set_tlsext_status_type or die; | 33 defined &Net::SSLeay::set_tlsext_status_type or die; |
34 }; | 34 }; |
35 plan(skip_all => 'Net::SSLeay not installed or too old') if $@; | 35 plan(skip_all => 'Net::SSLeay not installed or too old') if $@; |
36 | 36 |
37 my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl') | 37 my $t = Test::Nginx->new()->has(qw/http http_ssl/)->has_daemon('openssl'); |
38 ->plan(9)->write_file_expand('nginx.conf', <<'EOF'); | 38 |
39 plan(skip_all => 'no OCSP stapling') if $t->has_module('BoringSSL'); | |
40 | |
41 $t->plan(9)->write_file_expand('nginx.conf', <<'EOF'); | |
39 | 42 |
40 %%TEST_GLOBALS%% | 43 %%TEST_GLOBALS%% |
41 | 44 |
42 daemon off; | 45 daemon off; |
43 | 46 |