From: Bram Moolenaar Date: Sun, 1 Aug 2010 13:47:03 +0000 (+0200) Subject: Avoid that running tests changes viminfo. X-Git-Tag: v7.3~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00ec6854e3263161bb790dbe6a3a7c4a4f1d02a9;p=vim Avoid that running tests changes viminfo. --- diff --git a/src/testdir/test29.in b/src/testdir/test29.in index 829961c4d..6c7d3d539 100644 --- a/src/testdir/test29.in +++ b/src/testdir/test29.in @@ -4,7 +4,7 @@ Test for joining lines and marks in them and with 'cpoptions' flag 'j' set or not STARTTEST -:set nocompatible +:set nocompatible viminfo+=nviminfo :set nojoinspaces :set cpoptions-=j /firstline/ diff --git a/src/testdir/test72.in b/src/testdir/test72.in index 07d362fac..a38bd16ac 100644 --- a/src/testdir/test72.in +++ b/src/testdir/test72.in @@ -6,7 +6,8 @@ STARTTEST :so small.vim :" :" Test 'undofile': first a simple one-line change. -:set nocp ul=100 undofile nomore +:set nocompatible viminfo+=nviminfo +:set ul=100 undofile nomore :e! Xtestfile ggdGithis is one line:set ul=100 :s/one/ONE/