From faeaf978b8c1deaa61d7d408fa6cb4ed03bfcfa3 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 2 Jul 2019 20:16:35 +0200 Subject: [PATCH] fix suite.pm for windows --- mysql-test/suite/plugins/suite.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/suite/plugins/suite.pm b/mysql-test/suite/plugins/suite.pm index a4d1dbba062..b265a1f818c 100644 --- a/mysql-test/suite/plugins/suite.pm +++ b/mysql-test/suite/plugins/suite.pm @@ -8,7 +8,7 @@ if (-d '../sql') { my $src = "$::bindir/plugin/auth_pam/auth_pam_tool"; my $dst = "$::plugindir/auth_pam_tool_dir/auth_pam_tool"; ::mkpath( "$::plugindir/auth_pam_tool_dir"); - symlink $src, $dst or ::copy $src, $dst; + eval { symlink $src, $dst } or ::copy $src, $dst; } sub cassandra_running() {