From 00ec6854e3263161bb790dbe6a3a7c4a4f1d02a9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 1 Aug 2010 15:47:03 +0200 Subject: Avoid that running tests changes viminfo. --- src/testdir/test29.in | 2 +- src/testdir/test72.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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/ -- cgit v1.2.1