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 cb8bebb..fca5194 100644
--- a/src/testdir/setup.vim
+++ b/src/testdir/setup.vim
@@ -21,6 +21,9 @@
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 0d2ca4f..b1e2d5a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1045,
+/**/
1044,
/**/
1043,