Skip to content

Commit c386267

Browse files
committed
patch 8.0.0285: tests fail with tiny build on Unix
Problem: Tests fail with tiny build on Unix. Solution: Only set g:tester_HOME when build with the +eval feature.
1 parent b245559 commit c386267

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/testdir/unix.vim

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
" Always use "sh", don't use the value of "$SHELL".
33
set shell=sh
44

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

1013
source setup.vim

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
285,
767769
/**/
768770
284,
769771
/**/

0 commit comments

Comments
 (0)