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:
@@ -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')
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1006,
|
||||
/**/
|
||||
1005,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user