# HG changeset patch # User Christian Brabandt # Date 1485969304 -3600 # Node ID bfd636b8e259ceed4a91eadc2602c2b7c1a45537 # Parent c8c7bd6909caadcf874034df2b99657d88c6c2e8 patch 8.0.0285: tests fail with tiny build on Unix commit https://github.com/vim/vim/commit/c386267ffe1eb7ddf11794ade4f97d8b6b534588 Author: Bram Moolenaar Date: Wed Feb 1 18:07:38 2017 +0100 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. diff --git a/src/testdir/unix.vim b/src/testdir/unix.vim --- a/src/testdir/unix.vim +++ b/src/testdir/unix.vim @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 285, +/**/ 284, /**/ 283,