]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1013: suspend test often fails on Mac OS v9.0.1013
authorBram Moolenaar <Bram@vim.org>
Mon, 5 Dec 2022 21:21:46 +0000 (21:21 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 5 Dec 2022 21:21:46 +0000 (21:21 +0000)
Problem:    Suspend test often fails on Mac OS.
Solution:   Make t_RP empty.

src/testdir/test_suspend.vim
src/version.c

index 7538c8042e3daf3167bfcd35100e98c2e87670a2..ab1a0916107570025bb29e78b7b7155623f40de0 100644 (file)
@@ -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.
index 99f8b66f166bfafb967f90e65717e3263537aa3d..473f7e828280008bc250943a76772802d1b83240 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1013,
 /**/
     1012,
 /**/