diff src/testdir/runtest.vim @ 11850:eb339f9af281 v8.0.0805

patch 8.0.0805: GUI test fails with gnome2 commit https://github.com/vim/vim/commit/d1ee0043c0360f6b504c0283edd2a844ef73a349 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 29 20:39:53 2017 +0200 patch 8.0.0805: GUI test fails with gnome2 Problem: GUI test fails with gnome2. Solution: Set $HOME to an existing directory.
author Christian Brabandt <cb@256bit.org>
date Sat, 29 Jul 2017 20:45:04 +0200
parents 4db196820d3b
children 3cb7318223a4
line wrap: on
line diff
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -158,6 +158,9 @@ func FinishTesting()
   " Don't write viminfo on exit.
   set viminfo=
 
+  " Clean up files created by setup.vim
+  call delete('XfakeHOME', 'rf')
+
   if s:fail == 0
     " Success, create the .res file so that make knows it's done.
     exe 'split ' . fnamemodify(g:testname, ':r') . '.res'