# HG changeset patch # User Bram Moolenaar # Date 1647783903 -3600 # Node ID fecc185fcf69633cfe37403c72f9687a3e91b11f # Parent 7fd4693a77e699546fc1e1125e63f49df3873f7d patch 8.2.4598: profile completion test sometimes fails Commit: https://github.com/vim/vim/commit/7e0be3ea211748a77d32cb1d3d35ecfc246cf0f2 Author: Bram Moolenaar Date: Sun Mar 20 13:40:41 2022 +0000 patch 8.2.4598: profile completion test sometimes fails Problem: Profile completion test sometimes fails. Solution: Delete the .res file before running tests. diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -410,6 +410,9 @@ else endtry endif +" Delete the .res file, it may change behavior for completion +call delete(fnamemodify(g:testname, ':r') .. '.res') + " Locate Test_ functions and execute them. redir @q silent function /^Test_ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4598, +/**/ 4597, /**/ 4596,