Permalink
Browse files

patch 8.0.0805: GUI test fails with gnome2

Problem:    GUI test fails with gnome2.
Solution:   Set $HOME to an existing directory.
  • Loading branch information...
brammool committed Jul 29, 2017
1 parent 91d348a commit d1ee0043c0360f6b504c0283edd2a844ef73a349
Showing with 8 additions and 1 deletion.
  1. +3 −0 src/testdir/runtest.vim
  2. +3 −1 src/testdir/setup.vim
  3. +2 −0 src/version.c
View
@@ -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'
View
@@ -14,5 +14,7 @@ if 1
endif
" Make sure $HOME does not get read or written.
let $HOME = '/does/not/exist'
" It must exist, gnome tries to create $HOME/.gnome2
let $HOME = getcwd() . '/XfakeHOME'
call mkdir($HOME)
endif
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
805,
/**/
804,
/**/

0 comments on commit d1ee004

Please sign in to comment.