summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-07-02 20:16:35 +0200
committerSergei Golubchik <serg@mariadb.org>2019-07-02 20:17:01 +0200
commitfaeaf978b8c1deaa61d7d408fa6cb4ed03bfcfa3 (patch)
tree6194b0e460a26689c5d26c0c1e84bfe889a946f6
parent6842a1538ab64f9d551ead6d50e4faa7001c6a44 (diff)
downloadmariadb-git-faeaf978b8c1deaa61d7d408fa6cb4ed03bfcfa3.tar.gz
fix suite.pm for windows
-rw-r--r--mysql-test/suite/plugins/suite.pm2
1 files changed, 1 insertions, 1 deletions
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() {