diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-05 21:21:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-05 21:21:46 +0000 |
commit | 0a2f891adfc52d8f29733817fca15a1b642af1df (patch) | |
tree | a97d337b9a5538c3dcb8ebf3860af7a509f31d91 | |
parent | fa2533c8bb96abcec29b9dc6bd4fe7054c7c7e50 (diff) |
patch 9.0.1013: suspend test often fails on Mac OSv9.0.1013
Problem: Suspend test often fails on Mac OS.
Solution: Make t_RP empty.
-rw-r--r-- | src/testdir/test_suspend.vim | 16 | ||||
-rw-r--r-- | 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 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 @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1013, +/**/ 1012, /**/ 1011, |