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.
diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim
index 31b133f..cb8bebb 100644
--- a/src/testdir/setup.vim
+++ b/src/testdir/setup.vim
@@ -24,5 +24,7 @@
" 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