From: Bram Moolenaar Date: Mon, 5 Dec 2022 21:21:46 +0000 (+0000) Subject: patch 9.0.1013: suspend test often fails on Mac OS X-Git-Tag: v9.0.1013 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a2f891adfc52d8f29733817fca15a1b642af1df;p=thirdparty%2Fvim.git patch 9.0.1013: suspend test often fails on Mac OS Problem: Suspend test often fails on Mac OS. Solution: Make t_RP empty. --- diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim index 7538c8042e..ab1a091610 100644 --- a/src/testdir/test_suspend.vim +++ b/src/testdir/test_suspend.vim @@ -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. diff --git a/src/version.c b/src/version.c index 99f8b66f16..473f7e8282 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1013, /**/ 1012, /**/