File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,10 @@ repeat_each(3);
88my $NginxBinary = $ENV {' TEST_NGINX_BINARY' } || ' nginx' ;
99my $openssl_version = eval { ` $NginxBinary -V 2>&1` };
1010
11- if ($openssl_version =~ m / built with OpenSSL (0\S *|1\. 0\S *|1\. 1\. 0\S *)/ ) {
12- plan(skip_all => " too old OpenSSL, need 1.1.1, was $1 " );
13- } elsif ($openssl_version =~ m / running with BoringSSL/ ) {
14- plan(skip_all => " does not support BoringSSL" );
15- } elsif ($ENV {TEST_NGINX_USE_HTTP3 }) {
16- plan tests => repeat_each() * (blocks() * 6 + 6);
11+ if ($openssl_version =~ m / built with OpenSSL (0|1\. 0\. (?:0|1[^\d ]|2[a-d]).*)/ ) {
12+ plan(skip_all => " too old OpenSSL, need >= 1.0.2e, was $1 " );
1713} else {
18- plan tests => repeat_each() * (blocks() * 5 + 10 );
14+ plan tests => repeat_each() * (blocks() * 5 + 17 );
1915}
2016
2117$ENV {TEST_NGINX_HTML_DIR } ||= html_dir();
You can’t perform that action at this time.
0 commit comments