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:
@@ -22,11 +22,11 @@ func Test_suspend()
|
|||||||
CheckFeature terminal
|
CheckFeature terminal
|
||||||
CheckExecutable /bin/sh
|
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()
|
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')
|
let buf = term_start('/bin/sh')
|
||||||
" Wait for shell prompt.
|
" Wait for shell prompt.
|
||||||
@@ -72,11 +72,11 @@ func Test_suspend_autocmd()
|
|||||||
CheckFeature terminal
|
CheckFeature terminal
|
||||||
CheckExecutable /bin/sh
|
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()
|
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})
|
let buf = term_start('/bin/sh', #{term_rows: 6})
|
||||||
" Wait for shell prompt.
|
" Wait for shell prompt.
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1013,
|
||||||
/**/
|
/**/
|
||||||
1012,
|
1012,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user