changeset 11860:4276e114b34a v8.0.0810

patch 8.0.0810: MS-Windows: tests still hang commit https://github.com/vim/vim/commit/d0b6c6c54e0f3c2984e1d9b316a587ef14cfd53a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 30 13:28:23 2017 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Sun, 30 Jul 2017 13:30:04 +0200
parents a5e62f9986a5
children b59baf86a192
files src/testdir/setup.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    810,
+/**/
     809,
 /**/
     808,