Skip to content

Commit

Permalink
patch 8.0.0285: tests fail with tiny build on Unix
Browse files Browse the repository at this point in the history
Problem:    Tests fail with tiny build on Unix.
Solution:   Only set g:tester_HOME when build with the +eval feature.
  • Loading branch information
brammool committed Feb 1, 2017
1 parent b245559 commit c386267
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/testdir/unix.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
" Always use "sh", don't use the value of "$SHELL".
set shell=sh

" While some tests overwrite $HOME to prevent them from polluting user files,
" we need to remember the original value so that we can tell external systems
" where to ask about their own user settings.
let g:tester_HOME = $HOME
" Only when the +eval feature is present.
if 1
" While some tests overwrite $HOME to prevent them from polluting user files,
" we need to remember the original value so that we can tell external systems
" where to ask about their own user settings.
let g:tester_HOME = $HOME
endif

source setup.vim
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
285,
/**/
284,
/**/
Expand Down

0 comments on commit c386267

Please sign in to comment.