summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-19 19:11:35 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-19 19:11:35 +0100
commitb4c5572e749063daeef30cfc2932bea1fd468165 (patch)
tree98d6bc9fbfea2ca0c37b3dca7e39972098fd8afa
parent651e4056aceaa580df9e2fff575a6402d5c6f0dc (diff)
downloadvim-git-b4c5572e749063daeef30cfc2932bea1fd468165.tar.gz
patch 8.0.0488: running tests leaves an "xxx" file behindv8.0.0488
Problem: Running tests leaves an "xxx" file behind. Solution: Delete the 'verbosefile' after resetting the option.
-rw-r--r--src/testdir/gen_opt_test.vim7
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 4 deletions
diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim
index 16723be04..b69ae6724 100644
--- a/src/testdir/gen_opt_test.vim
+++ b/src/testdir/gen_opt_test.vim
@@ -175,10 +175,6 @@ while 1
for val in a[0]
call add(script, 'set ' . name . '=' . val)
call add(script, 'set ' . shortname . '=' . val)
-
- if name == 'verbosefile' && !empty(val)
- call add(script, 'call delete("'. val. '")')
- endif
endfor
" setting an option can only fail when it's implemented.
@@ -192,6 +188,9 @@ while 1
call add(script, 'set ' . name . '&')
call add(script, 'set ' . shortname . '&')
+ if name == 'verbosefile'
+ call add(script, 'call delete("xxx")')
+ endif
if name == 'more'
call add(script, 'set nomore')
diff --git a/src/version.c b/src/version.c
index c9d7361dd..c620780ce 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 488,
+/**/
487,
/**/
486,