Skip to content

Commit 05bb3b9

Browse files
committed
fix main.ssl_ca test for windows
where $HOME is the empty string
1 parent a4cfd32 commit 05bb3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-test/t/ssl_ca.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
--echo # PATH SUBSTITUTION
1919
--echo #
2020

21-
--let $mysql_test_dir_path= `SELECT REPLACE('=$MYSQL_TEST_DIR', '=$HOME', '=~')`
21+
--let $mysql_test_dir_path= `SELECT IF(LENGTH('$HOME'), REPLACE('=$MYSQL_TEST_DIR', '=$HOME', '=~'), '=$MYSQL_TEST_DIR')`
2222

2323
--echo # try to connect with '--ssl-ca' option using tilde home directoy
2424
--echo # path substitution : should connect

0 commit comments

Comments
 (0)