From 00ec6854e3263161bb790dbe6a3a7c4a4f1d02a9 Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Sun, 1 Aug 2010 15:47:03 +0200
Subject: [PATCH] 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 829961c4de..6c7d3d5395 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 07d362facf..a38bd16ace 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/
-- 
GitLab