fix main.ssl_ca test for windows

where $HOME is the empty string
This commit is contained in:
Sergei Golubchik 2016-06-14 16:28:07 +02:00
parent a4cfd32125
commit 05bb3b9f85

View File

@ -18,7 +18,7 @@
--echo # PATH SUBSTITUTION
--echo #
--let $mysql_test_dir_path= `SELECT REPLACE('=$MYSQL_TEST_DIR', '=$HOME', '=~')`
--let $mysql_test_dir_path= `SELECT IF(LENGTH('$HOME'), REPLACE('=$MYSQL_TEST_DIR', '=$HOME', '=~'), '=$MYSQL_TEST_DIR')`
--echo # try to connect with '--ssl-ca' option using tilde home directoy
--echo # path substitution : should connect