Permalink
Browse files

patch 8.0.1045: running tests may pollute shell history

Problem:    Running tests may pollute shell history. (Manuel Ortega)
Solution:   Make $HISTFILE empty.
  • Loading branch information...
brammool committed Sep 3, 2017
1 parent 2254a8a commit 6a8691d483914606213a24356a9124fa41c93b69
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/testdir/setup.vim
  2. +2 −0 src/version.c
View
@@ -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'
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1045,
/**/
1044,
/**/

0 comments on commit 6a8691d

Please sign in to comment.