Permalink
Browse files

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.
  • Loading branch information...
brammool committed Jul 29, 2017
1 parent d1ee004 commit f98246d4849e670c6660e97887428dcddf88dc9f
Showing with 10 additions and 0 deletions.
  1. +8 −0 src/testdir/setup.vim
  2. +2 −0 src/version.c
View
@@ -1,5 +1,13 @@
" 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.
set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
if has('packages')
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
806,
/**/
805,
/**/

0 comments on commit f98246d

Please sign in to comment.