Skip to content

Commit 1d0db38

Browse files
committed
tests: fixed ci
1 parent 1855461 commit 1d0db38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/proxy-ssl-cert.t

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

15-
if ($openssl_version =~ m/built with OpenSSL (0\S*|1\.0\S*|1\.1\.0\S*)/) {
16-
plan(skip_all => "too old OpenSSL, need 1.1.1, was $1");
15+
if ($openssl_version =~ m/built with OpenSSL (0|1\.0\.(?:0|1[^\d]|2[a-d]).*)/) {
16+
plan(skip_all => "too old OpenSSL, need >= 1.0.2e, was $1");
1717
} else {
18-
plan tests => repeat_each() * (blocks() * 6 - 2) - 4;
18+
plan tests => repeat_each() * (blocks() * 3);
1919
}
2020

2121
no_long_string();

0 commit comments

Comments
 (0)