Skip to content
Permalink
Browse files

fix suite.pm to not garble $_

  • Loading branch information...
vuvova committed Jul 2, 2019
1 parent 7a3d34d commit 3acf74105175d4c909e0ea8e969f3d78bfc5f7af
Showing with 3 additions and 3 deletions.
  1. +3 −3 mysql-test/suite.pm
@@ -77,11 +77,11 @@ sub skip_combinations {
my $openssl_cnf='/etc/ssl/openssl.cnf';
if ($openssl_ver and open my $f, '<', $openssl_cnf) {
local $/;
$_=<$f>;
my $cnf=<$f>;
$skip{'main/tls_version.test'} = "TLSv1.1 disabled in $openssl_cnf"
if /^\s*MinProtocol\s*=\s*TLSv1.[2-9]/m;
if $cnf =~ /^\s*MinProtocol\s*=\s*TLSv1.[2-9]/m;
$skip{'main/tls_version1.test'} = "TLSv1.0 disabled in $openssl_cnf"
if /^\s*MinProtocol\s*=\s*TLSv1.[1-9]/m;
if $cnf =~ /^\s*MinProtocol\s*=\s*TLSv1.[1-9]/m;
}

%skip;

0 comments on commit 3acf741

Please sign in to comment.
You can’t perform that action at this time.