diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-30 13:28:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-30 13:28:23 +0200 |
commit | d0b6c6c54e0f3c2984e1d9b316a587ef14cfd53a (patch) | |
tree | f86d2af3067c54380d5799d44188bdf62726cf95 /src/testdir | |
parent | 30fe88677dd2b16e733ca0ac14edc8d70c7259fc (diff) | |
download | vim-git-d0b6c6c54e0f3c2984e1d9b316a587ef14cfd53a.tar.gz |
patch 8.0.0810: MS-Windows: tests still hangv8.0.0810
Problem: MS-Windows: tests still hang.
Solution: Only create the XfakeHOME directory if it does not exist yet.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/setup.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim index 31b133f10..cb8bebb47 100644 --- a/src/testdir/setup.vim +++ b/src/testdir/setup.vim @@ -24,5 +24,7 @@ if 1 " Make sure $HOME does not get read or written. " It must exist, gnome tries to create $HOME/.gnome2 let $HOME = getcwd() . '/XfakeHOME' - call mkdir($HOME) + if !isdirectory($HOME) + call mkdir($HOME) + endif endif |