From 071a7d3d786af5b7be04a095e40327a064365550 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Tue, 22 Nov 2016 07:28:50 +0900 Subject: 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 --- src/nvim/testdir/runtest.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim/testdir') 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") -- cgit