]> granicus.if.org Git - vim/commitdiff
patch 8.2.0058: running tests changes ~/.viminfo v8.2.0058
authorBram Moolenaar <Bram@vim.org>
Sun, 29 Dec 2019 23:07:57 +0000 (00:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 29 Dec 2019 23:07:57 +0000 (00:07 +0100)
Problem:    Running tests changes ~/.viminfo.
Solution:   Make 'viminfo' empty when summarizing tests results. (closes #5414)

src/testdir/summarize.vim
src/version.c

index 9cf3f694cadbcb8823c71575b54c08dfad51c052..4e4135287b3d0ceaa8489b69c7d843d01b39b6e2 100644 (file)
@@ -1,6 +1,7 @@
 if 1
   " This is executed only with the eval feature
   set nocompatible
+  set viminfo=
   func Count(match, type)
     if a:type ==# 'executed'
       let g:executed += (a:match+0)
index 885e6bfc8689bf7f47b8b9b07f1e0cea1567626f..5c27a504a08810b2bcb3a5db90a08a69ba20c592 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    58,
 /**/
     57,
 /**/