# HG changeset patch # User Bram Moolenaar # Date 1670275804 -3600 # Node ID adb96415b5b766f76bd13297965b2aa3f025bde1 # Parent 624dec72c56270910ad03d1534b79dd4fc799d74 patch 9.0.1013: suspend test often fails on Mac OS Commit: https://github.com/vim/vim/commit/0a2f891adfc52d8f29733817fca15a1b642af1df Author: Bram Moolenaar Date: Mon Dec 5 21:21:46 2022 +0000 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1013, +/**/ 1012, /**/ 1011,