diff options
| author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-11-22 07:28:50 +0900 |
|---|---|---|
| committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-11-22 07:30:42 +0900 |
| commit | 071a7d3d786af5b7be04a095e40327a064365550 (patch) | |
| tree | 619f9935d2cafa83a0cb96b73e371fafa58f2115 /src/nvim/testdir | |
| parent | 5f0260808cf3712718555ee177476b8aefd78280 (diff) | |
| download | rneovim-071a7d3d786af5b7be04a095e40327a064365550.tar.gz rneovim-071a7d3d786af5b7be04a095e40327a064365550.tar.bz2 rneovim-071a7d3d786af5b7be04a095e40327a064365550.zip | |
vim-patch:7.4.1686
Problem: When running tests $HOME/.viminfo is written. (James McCoy)
Solution: Add 'nviminfo' to the 'viminfo' option. (closes vim/vim#722)
https://github.com/vim/vim/commit/e9c07270031e312082604d3505650f185aa65948
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/runtest.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/runtest.vim b/src/nvim/testdir/runtest.vim index e2d1e67a22..acd2037912 100644 --- a/src/nvim/testdir/runtest.vim +++ b/src/nvim/testdir/runtest.vim @@ -51,6 +51,9 @@ lang mess C " Always use forward slashes. set shellslash +" Make sure $HOME does not get read or written. +let $HOME = '/does/not/exist' + function RunTheTest(test) echo 'Executing ' . a:test if exists("*SetUp") |