changeset 10126:a539e9e4e534 v7.4.2334

commit https://github.com/vim/vim/commit/1b0c2fcf6e85c9b85c24757ba970061e1f3e4e80 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 5 23:29:26 2016 +0200 patch 7.4.2334 Problem: On MS-Windows test_getcwd leaves Xtopdir behind. Solution: Set 'noswapfile'. (Michael Soyka)
author Christian Brabandt <cb@256bit.org>
date Mon, 05 Sep 2016 23:30:06 +0200
parents 33c344996adb
children f2b0d6221ae9
files src/testdir/test_getcwd.in src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_getcwd.in
+++ b/src/testdir/test_getcwd.in
@@ -9,6 +9,9 @@ STARTTEST
 :set visualbell
 :set nocp viminfo+=nviminfo
 :"
+:" On windows a swapfile in Xtopdir prevents it from being cleaned up.
+:set noswapfile
+:"
 :function! GetCwdInfo(win, tab)
 : let tab_changed = 0
 : let mod = ":t"
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2334,
+/**/
     2333,
 /**/
     2332,