]> granicus.if.org Git - vim/commitdiff
patch 7.4.2007 v7.4.2007
authorBram Moolenaar <Bram@vim.org>
Sat, 9 Jul 2016 13:38:32 +0000 (15:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Jul 2016 13:38:32 +0000 (15:38 +0200)
Problem:    Running the tests leaves a viminfo file behind.
Solution:   Make the viminfo option empty.

src/testdir/runtest.vim
src/version.c

index 57edcc17c8c4161fddcface44b019d8c48a5432a..c094da031719bd4b9e1b7b709ee93ba793c7035b 100644 (file)
@@ -149,6 +149,9 @@ for s:test in sort(s:tests)
   endif
 endfor
 
+" Don't write viminfo on exit.
+set viminfo=
+
 if s:fail == 0
   " Success, create the .res file so that make knows it's done.
   exe 'split ' . fnamemodify(g:testname, ':r') . '.res'
index 89e8c7f7650dbb707bc323f62e2b1a516cecb3e3..5305beecf8c06735ca8018e99cc9222fd4baf8cf 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2007,
 /**/
     2006,
 /**/