Permalink
Browse files

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.
  • Loading branch information...
brammool committed Mar 19, 2017
1 parent 651e405 commit b4c5572e749063daeef30cfc2932bea1fd468165
Showing with 5 additions and 4 deletions.
  1. +3 −4 src/testdir/gen_opt_test.vim
  2. +2 −0 src/version.c
@@ -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
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 488,
/**/
487,
/**/

0 comments on commit b4c5572

Please sign in to comment.