0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 8.0.0806: tests may try to create XfakeHOME twice

Problem:    Tests may try to create XfakeHOME twice.
Solution:   Avoid loading setup.vim twice.
This commit is contained in:
Bram Moolenaar
2017-07-29 22:21:18 +02:00
parent d1ee0043c0
commit f98246d484
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,13 @@
" Common preparations for running tests. " Common preparations for running tests.
" Only load this once.
if 1
if exists('s:did_load')
finish
endif
let s:did_load = 1
endif
" Make sure 'runtimepath' and 'packpath' does not include $HOME. " Make sure 'runtimepath' and 'packpath' does not include $HOME.
set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
if has('packages') if has('packages')

View File

@@ -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 */
/**/
806,
/**/ /**/
805, 805,
/**/ /**/