1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Windows : create a minimalistic MTR test for mysql_install_db.exe

only --datadir option is tested in this test.
Other options (notably --password and --service) would need another,
more comprehensive test.
This commit is contained in:
Vladislav Vaintroub
2018-12-06 15:09:17 +01:00
parent f77895ebf3
commit 50c850c9b1
4 changed files with 37 additions and 1 deletions

View File

@ -2292,6 +2292,10 @@ sub environment_setup {
$ENV{'EXE_MYSQL'}= $exe_mysql;
$ENV{'MYSQL_PLUGIN'}= $exe_mysql_plugin;
$ENV{'MYSQL_EMBEDDED'}= $exe_mysql_embedded;
if(IS_WINDOWS)
{
$ENV{'MYSQL_INSTALL_DB_EXE'}= mtr_exe_exists("$bindir/sql$opt_vs_config/mysql_install_db");
}
my $client_config_exe=
mtr_exe_maybe_exists(