patch 7.4.2334
Problem:    On MS-Windows test_getcwd leaves Xtopdir behind.
Solution:   Set 'noswapfile'. (Michael Soyka)
diff --git a/src/testdir/test_getcwd.in b/src/testdir/test_getcwd.in
index e92ea1b..f62d21a 100644
--- a/src/testdir/test_getcwd.in
+++ b/src/testdir/test_getcwd.in
@@ -9,6 +9,9 @@
 :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"