mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.0.0805: GUI test fails with gnome2
Problem: GUI test fails with gnome2. Solution: Set $HOME to an existing directory.
This commit is contained in:
@@ -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'
|
||||
|
@@ -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
|
||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
805,
|
||||
/**/
|
||||
804,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user