From c386267ffe1eb7ddf11794ade4f97d8b6b534588 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 1 Feb 2017 18:07:38 +0100 Subject: 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. --- src/testdir/unix.vim | 11 +++++++---- src/version.c | 2 ++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/testdir/unix.vim b/src/testdir/unix.vim index 2290ec9cb..b82c63c38 100644 --- 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 index 6b0953fdf..e47b0d3a5 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 285, /**/ 284, /**/ -- cgit v1.2.1