changeset 2456:2876ac15b8c8 vim73

Avoid that running tests changes viminfo.
author Bram Moolenaar <bram@vim.org>
date Sun, 01 Aug 2010 15:47:03 +0200
parents 9367de3e2e1b
children 6c1d10a85398
files src/testdir/test29.in src/testdir/test72.in
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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/
--- 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/