0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 9.0.1013: suspend test often fails on Mac OS

Problem:    Suspend test often fails on Mac OS.
Solution:   Make t_RP empty.
This commit is contained in:
Bram Moolenaar
2022-12-05 21:21:46 +00:00
parent fa2533c8bb
commit 0a2f891adf
2 changed files with 10 additions and 8 deletions

View File

@@ -22,11 +22,11 @@ func Test_suspend()
CheckFeature terminal
CheckExecutable /bin/sh
" Somehow the modifyOtherKeys response may get to the terminal when using Mac
" OS. Make t_RK empty to avoid that.
set t_RK=
call WaitForResponses()
if has('mac')
" Mac OS machines tend to be slow, wait a bit longer
sleep 150m
endif
let buf = term_start('/bin/sh')
" Wait for shell prompt.
@@ -72,11 +72,11 @@ func Test_suspend_autocmd()
CheckFeature terminal
CheckExecutable /bin/sh
" Somehow the modifyOtherKeys response may get to the terminal when using Mac
" OS. Make t_RK empty to avoid that.
set t_RK=
call WaitForResponses()
if has('mac')
" Mac OS machines tend to be slow, wait a bit longer
sleep 150m
endif
let buf = term_start('/bin/sh', #{term_rows: 6})
" Wait for shell prompt.

View File

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