From: Bram Moolenaar Date: Sun, 3 Sep 2017 12:31:02 +0000 (+0200) Subject: patch 8.0.1045: running tests may pollute shell history X-Git-Tag: v8.0.1045 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a8691d483914606213a24356a9124fa41c93b69;p=vim patch 8.0.1045: running tests may pollute shell history Problem: Running tests may pollute shell history. (Manuel Ortega) Solution: Make $HISTFILE empty. --- diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim index cb8bebb47..fca5194ab 100644 --- a/src/testdir/setup.vim +++ b/src/testdir/setup.vim @@ -21,6 +21,9 @@ if 1 let $XAUTHORITY = $HOME . '/.Xauthority' endif + " Avoid storing shell history. + let $HISTFILE = "" + " Make sure $HOME does not get read or written. " It must exist, gnome tries to create $HOME/.gnome2 let $HOME = getcwd() . '/XfakeHOME' diff --git a/src/version.c b/src/version.c index 0d2ca4f47..b1e2d5a7a 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1045, /**/ 1044, /**/