# HG changeset patch # User Christian Brabandt # Date 1489947304 -3600 # Node ID c3504890b37d1e85b7933234f8189c29b946b37b # Parent d451f84321521e8aa37f1ddd7798796de7acdbf7 patch 8.0.0488: running tests leaves an "xxx" file behind commit https://github.com/vim/vim/commit/b4c5572e749063daeef30cfc2932bea1fd468165 Author: Bram Moolenaar Date: Sun Mar 19 19:11:35 2017 +0100 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. diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim --- 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 --- 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,