Skip to content

Commit

Permalink
patch 8.0.0488: running tests leaves an "xxx" file behind
Browse files Browse the repository at this point in the history
Problem:    Running tests leaves an "xxx" file behind.
Solution:   Delete the 'verbosefile' after resetting the option.
  • Loading branch information
brammool committed Mar 19, 2017
1 parent 651e405 commit b4c5572
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/testdir/gen_opt_test.vim
Expand Up @@ -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.
Expand All @@ -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')
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -764,6 +764,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
488,
/**/
487,
/**/
Expand Down

0 comments on commit b4c5572

Please sign in to comment.