summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index e4ecc910556..325f792d9fb 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -2166,6 +2166,17 @@ sub environment_setup {
}
# ----------------------------------------------------
+ # mysql_secure_installation
+ # ----------------------------------------------------
+ my $mysql_secure_installation=
+ mtr_pl_maybe_exists("$bindir/scripts/mysql_secure_installation") ||
+ mtr_pl_maybe_exists("$path_client_bindir/mysql_secure_installation");
+ if ($mysql_secure_installation)
+ {
+ $ENV{'MYSQL_SECURE_INSTALLATION'}= $mysql_secure_installation;
+ }
+
+ # ----------------------------------------------------
# perror
# ----------------------------------------------------
my $exe_perror= mtr_exe_exists("$bindir/extra$opt_vs_config/perror",