changeset 31359:adb96415b5b7 v9.0.1013

patch 9.0.1013: suspend test often fails on Mac OS Commit: https://github.com/vim/vim/commit/0a2f891adfc52d8f29733817fca15a1b642af1df Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 22:30:04 +0100
parents 624dec72c562
children 0457b77da257
files src/testdir/test_suspend.vim src/version.c
diffstat 2 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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,