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:
@@ -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')
|
||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
488,
|
||||
/**/
|
||||
487,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user