0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0488: running tests leaves an "xxx" file behind

Problem:    Running tests leaves an "xxx" file behind.
Solution:   Delete the 'verbosefile' after resetting the option.
This commit is contained in:
Bram Moolenaar
2017-03-19 19:11:35 +01:00
parent 651e4056ac
commit b4c5572e74
2 changed files with 5 additions and 4 deletions

View File

@@ -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')

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
488,
/**/
487,
/**/