Skip to content

Commit d10011d

Browse files
committed
tests: fixed CI
1 parent 3cfeb96 commit d10011d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/165-proxy-ssl-cert-by.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ repeat_each(3);
77
my $NginxBinary = $ENV{'TEST_NGINX_BINARY'} || 'nginx';
88
my $openssl_version = eval { `$NginxBinary -V 2>&1` };
99

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");
10+
if ($openssl_version =~ m/built with OpenSSL (0|1\.0\.(?:0|1[^\d]|2[a-d]).*)/) {
11+
plan(skip_all => "too old OpenSSL, need >= 1.0.2e, was $1");
1212
} else {
13-
plan tests => repeat_each() * (blocks() * 6 + 5);
13+
plan tests => repeat_each() * (blocks() * 5 + 22);
1414
}
1515

1616
$ENV{TEST_NGINX_HTML_DIR} ||= html_dir();

0 commit comments

Comments
 (0)