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.
|
" Don't write viminfo on exit.
|
||||||
set viminfo=
|
set viminfo=
|
||||||
|
|
||||||
|
" Clean up files created by setup.vim
|
||||||
|
call delete('XfakeHOME', 'rf')
|
||||||
|
|
||||||
if s:fail == 0
|
if s:fail == 0
|
||||||
" Success, create the .res file so that make knows it's done.
|
" Success, create the .res file so that make knows it's done.
|
||||||
exe 'split ' . fnamemodify(g:testname, ':r') . '.res'
|
exe 'split ' . fnamemodify(g:testname, ':r') . '.res'
|
||||||
|
@@ -14,5 +14,7 @@ if 1
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Make sure $HOME does not get read or written.
|
" 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
|
endif
|
||||||
|
@@ -769,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
805,
|
||||||
/**/
|
/**/
|
||||||
804,
|
804,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user