Patch 9.0.1004
Problem:    Suspend test sometimes fails on MacOS.
Solution:   Wait a short while for terminal responses.
Files:      src/testdir/test_suspend.vim


*** ../vim-9.0.1003/src/testdir/test_suspend.vim        2020-12-11 
18:29:04.000000000 +0000
--- src/testdir/test_suspend.vim        2022-12-04 22:24:58.094750979 +0000
***************
*** 2,7 ****
--- 2,8 ----
  
  source check.vim
  source term_util.vim
+ source shared.vim
  
  func CheckSuspended(buf, fileExists)
    call WaitForAssert({-> assert_match('[$#] $', term_getline(a:buf, '.'))})
***************
*** 21,26 ****
--- 22,29 ----
    CheckFeature terminal
    CheckExecutable /bin/sh
  
+   call WaitForResponses()
+ 
    let buf = term_start('/bin/sh')
    " Wait for shell prompt.
    call WaitForAssert({-> assert_match('[$#] $', term_getline(buf, '.'))})
***************
*** 65,70 ****
--- 68,75 ----
    CheckFeature terminal
    CheckExecutable /bin/sh
  
+   call WaitForResponses()
+ 
    let buf = term_start('/bin/sh', #{term_rows: 6})
    " Wait for shell prompt.
    call WaitForAssert({-> assert_match('[$#] $', term_getline(buf, '.'))})
*** ../vim-9.0.1003/src/version.c       2022-12-04 21:40:48.467175257 +0000
--- src/version.c       2022-12-04 22:26:02.530733090 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1004,
  /**/

-- 
A computer without Windows is like a fish without a bicycle.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221204222710.2CDDF1C06DC%40moolenaar.net.

Raspunde prin e-mail lui