summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-03 14:31:02 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-03 14:31:02 +0200
commit6a8691d483914606213a24356a9124fa41c93b69 (patch)
tree9c03577990e02c1401adbe4c6aefe057fedb447d
parent2254a8ad0cb596a0a0863b1af92353f018c0b355 (diff)
downloadvim-git-6a8691d483914606213a24356a9124fa41c93b69.tar.gz
patch 8.0.1045: running tests may pollute shell historyv8.0.1045
Problem: Running tests may pollute shell history. (Manuel Ortega) Solution: Make $HISTFILE empty.
-rw-r--r--src/testdir/setup.vim3
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 0 deletions
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
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1045,
+/**/
1044,
/**/
1043,