diff proxy_ssl_conf_command.t @ 1692:f6795e2e6a4b

Tests: skip ssl_conf_command tests on too old OpenSSL explicitly.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:15 +0300
parents 4be791074207
children 5ac6efbe5552
line wrap: on
line diff
--- a/proxy_ssl_conf_command.t
+++ b/proxy_ssl_conf_command.t
@@ -25,6 +25,9 @@ select STDOUT; $| = 1;
 my $t = Test::Nginx->new()->has(qw/http http_ssl proxy/)
 	->has_daemon('openssl');
 
+$t->{_configure_args} =~ /OpenSSL ([\d\.]+)/;
+plan(skip_all => 'OpenSSL too old') unless defined $1 and $1 ge '1.0.2';
+
 $t->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%