changeset 2949:7fe2c092913e v7.3.247

updated for version 7.3.247 Problem: Running tests changes the users viminfo file. Test for patch 7.3.245 missing. Solution: Add "nviminfo" to the 'viminfo' option. Include the test.
author Bram Moolenaar <bram@vim.org>
date Fri, 15 Jul 2011 13:33:21 +0200
parents e647820bb6ef
children aa84232e73d1
files src/testdir/test78.in src/testdir/test81.in src/version.c
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test78.in
+++ b/src/testdir/test78.in
@@ -6,7 +6,7 @@ blocks.
 
 STARTTEST
 :so small.vim
-:set nocp fileformat=unix undolevels=-1
+:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo
 :e! Xtest
 ggdG
 :let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789"
--- a/src/testdir/test81.in
+++ b/src/testdir/test81.in
@@ -1,10 +1,12 @@
 Test for t movement command and 'cpo-;' setting
 
 STARTTEST
-:set nocompatible
+:set nocompatible viminfo+=nviminfo
 :set cpo-=;
 /firstline/
 j0tt;D
+0fz;D
+$Fy;D
 $Ty;D:set cpo+=;
 j0tt;;D
 $Ty;;D:?firstline?+1,$w! test.out
@@ -13,6 +15,8 @@ ENDTEST
 
 firstline
 aaa two three four
+    zzz
+yyy   
 bbb yee yoo four
 ccc two three four
 ddd yee yoo four
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    247,
+/**/
     246,
 /**/
     245,