# HG changeset patch # User Bram Moolenaar # Date 1656098103 -7200 # Node ID 6e7b9156b08f24435650ab35002426b41927688b # Parent 3dccbb97c76ebf797265cfb9a3bc3335b9bc5ff3 patch 8.2.5156: search timeout test often fails with FreeBSD Commit: https://github.com/vim/vim/commit/e9b74c03618e2dcd01cd71f8d62d620fbce884fa Author: Bram Moolenaar Date: Fri Jun 24 20:11:59 2022 +0100 patch 8.2.5156: search timeout test often fails with FreeBSD Problem: Search timeout test often fails with FreeBSD. Solution: Double the maximum time. diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim --- a/src/testdir/test_search.vim +++ b/src/testdir/test_search.vim @@ -379,6 +379,10 @@ func Test_searchpair_timeout_with_skip() if RunningWithValgrind() let max_time += 0.04 " this can be slow with valgrind endif + if has('bsd') + " test often fails with FreeBSD + let max_time = max_time * 2.0 + endif endif let start = reltime() let found = searchpair('(', '', ')', 'crnm', 'SearchpairSkip()', 0, ms) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5156, +/**/ 5155, /**/ 5154,