We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cfeb96 commit d10011dCopy full SHA for d10011d
t/165-proxy-ssl-cert-by.t
@@ -7,10 +7,10 @@ repeat_each(3);
7
my $NginxBinary = $ENV{'TEST_NGINX_BINARY'} || 'nginx';
8
my $openssl_version = eval { `$NginxBinary -V 2>&1` };
9
10
-if ($openssl_version =~ m/built with OpenSSL (0\S*|1\.0\S*|1\.1\.0\S*)/) {
11
- plan(skip_all => "too old OpenSSL, need 1.1.1, was $1");
+if ($openssl_version =~ m/built with OpenSSL (0|1\.0\.(?:0|1[^\d]|2[a-d]).*)/) {
+ plan(skip_all => "too old OpenSSL, need >= 1.0.2e, was $1");
12
} else {
13
- plan tests => repeat_each() * (blocks() * 6 + 5);
+ plan tests => repeat_each() * (blocks() * 5 + 22);
14
}
15
16
$ENV{TEST_NGINX_HTML_DIR} ||= html_dir();
0 commit comments