Mercurial > vim
comparison src/testdir/unix.vim @ 10791:bfd636b8e259 v8.0.0285
patch 8.0.0285: tests fail with tiny build on Unix
commit https://github.com/vim/vim/commit/c386267ffe1eb7ddf11794ade4f97d8b6b534588
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Feb 2017 18:15:04 +0100 |
parents | d08655e2633a |
children | dbec60b8c253 |
comparison
equal
deleted
inserted
replaced
10790:c8c7bd6909ca | 10791:bfd636b8e259 |
---|---|
1 " Settings for test script execution | 1 " Settings for test script execution |
2 " Always use "sh", don't use the value of "$SHELL". | 2 " Always use "sh", don't use the value of "$SHELL". |
3 set shell=sh | 3 set shell=sh |
4 | 4 |
5 " While some tests overwrite $HOME to prevent them from polluting user files, | 5 " Only when the +eval feature is present. |
6 " we need to remember the original value so that we can tell external systems | 6 if 1 |
7 " where to ask about their own user settings. | 7 " While some tests overwrite $HOME to prevent them from polluting user files, |
8 let g:tester_HOME = $HOME | 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 | |
9 | 12 |
10 source setup.vim | 13 source setup.vim |