1
0
forked from aniani/vim

patch 9.0.1006: suspend test still sometimes fails on MacOS

Problem:    Suspend test still sometimes fails on MacOS.
Solution:   Wait a little while for terminal responses.
This commit is contained in:
Bram Moolenaar
2022-12-04 23:30:19 +00:00
parent d0f8d39d20
commit 65214053f6
2 changed files with 10 additions and 0 deletions

View File

@@ -23,6 +23,10 @@ func Test_suspend()
CheckExecutable /bin/sh
call WaitForResponses()
if has('mac')
" Mac OS machines tend to be slow, wait a bit longer
sleep 150m
endif
" in case a previous failure left a swap file behind
call delete('.Xfoo.swp')
@@ -73,6 +77,10 @@ func Test_suspend_autocmd()
CheckExecutable /bin/sh
call WaitForResponses()
if has('mac')
" Mac OS machines tend to be slow, wait a bit longer
sleep 150m
endif
" in case a previous failure left a swap file behind
call delete('.Xfoo.swp')

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1006,
/**/
1005,
/**/