vim-patch:8.0.0810: MS-Windows: tests still hang

Problem:    MS-Windows: tests still hang.
Solution:   Only create the XfakeHOME directory if it does not exist yet.
d0b6c6c54e
This commit is contained in:
Jan Edmund Lazo 2018-07-24 20:56:14 -04:00
parent 290a9632d6
commit b0ab46056f

View File

@ -22,8 +22,10 @@ set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
let &packpath = &rtp
" Make sure $HOME does not get read or written.
let $HOME = getcwd() . '/XfakeHOME'
call mkdir($HOME)
let $HOME = expand(getcwd() . '/XfakeHOME')
if !isdirectory($HOME)
call mkdir($HOME)
endif
" Use default shell on Windows to avoid segfault, caused by TUI
if has('win32')