]> granicus.if.org Git - vim/commitdiff
patch 8.0.0810: MS-Windows: tests still hang v8.0.0810
authorBram Moolenaar <Bram@vim.org>
Sun, 30 Jul 2017 11:28:23 +0000 (13:28 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 30 Jul 2017 11:28:23 +0000 (13:28 +0200)
Problem:    MS-Windows: tests still hang.
Solution:   Only create the XfakeHOME directory if it does not exist yet.

src/testdir/setup.vim
src/version.c

index 31b133f10d45eb813de739bbf346768a32173893..cb8bebb47a273deba681625acb61cc3c445d9a30 100644 (file)
@@ -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
index 94aa40e763dc7c23cc9a8a775bac26c365782c7a..fa67f7f57056e6f2af78836c2767eda0f57e9fe4 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    810,
 /**/
     809,
 /**/