Mercurial > hg > nginx-tests
changeset 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 | 00c08f068f79 |
children | 5386f4328b90 |
files | mail_ssl_conf_command.t proxy_ssl_conf_command.t ssl_conf_command.t stream_proxy_ssl_conf_command.t stream_ssl_conf_command.t |
diffstat | 5 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mail_ssl_conf_command.t Tue Jun 01 19:00:29 2021 +0300 +++ b/mail_ssl_conf_command.t Tue Jun 01 23:46:32 2021 +0300 @@ -35,6 +35,7 @@ $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');
--- a/proxy_ssl_conf_command.t Tue Jun 01 19:00:29 2021 +0300 +++ b/proxy_ssl_conf_command.t Tue Jun 01 23:46:32 2021 +0300 @@ -27,6 +27,7 @@ $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');
--- a/ssl_conf_command.t Tue Jun 01 19:00:29 2021 +0300 +++ b/ssl_conf_command.t Tue Jun 01 23:46:32 2021 +0300 @@ -35,6 +35,7 @@ $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');
--- a/stream_proxy_ssl_conf_command.t Tue Jun 01 19:00:29 2021 +0300 +++ b/stream_proxy_ssl_conf_command.t Tue Jun 01 23:46:32 2021 +0300 @@ -28,6 +28,7 @@ $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');
--- a/stream_ssl_conf_command.t Tue Jun 01 19:00:29 2021 +0300 +++ b/stream_ssl_conf_command.t Tue Jun 01 23:46:32 2021 +0300 @@ -35,6 +35,7 @@ $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');