From 0a2f891adfc52d8f29733817fca15a1b642af1df Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 5 Dec 2022 21:21:46 +0000 Subject: [PATCH] patch 9.0.1013: suspend test often fails on Mac OS Problem: Suspend test often fails on Mac OS. Solution: Make t_RP empty. --- src/testdir/test_suspend.vim | 16 ++++++++-------- src/version.c | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim index 7538c8042..ab1a09161 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 99f8b66f1..473f7e828 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, /**/ -- 2.40.0