Mercurial > hg > nginx-tests
diff mail_ssl_conf_command.t @ 1696:4baeba0e0da2
Tests: skip ssl_conf_command tests with BoringSSL.
BoringSSL pretends to be OpenSSL 1.1.1, this confuses existing skip_all checks.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 23:46:32 +0300 |
parents | 5ac6efbe5552 |
children | ce4a06d72256 |
line wrap: on
line diff
--- a/mail_ssl_conf_command.t +++ b/mail_ssl_conf_command.t @@ -35,6 +35,7 @@ my $t = Test::Nginx->new()->has(qw/mail $t->{_configure_args} =~ /OpenSSL ([\d\.]+)/; plan(skip_all => 'OpenSSL too old') unless defined $1 and $1 ge '1.0.2'; +plan(skip_all => 'no ssl_conf_command') if $t->has_module('BoringSSL'); $t->write_file_expand('nginx.conf', <<'EOF');