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
index 5422b33..c12c07b 100644
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -379,6 +379,10 @@
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)