Patch 8.2.2647
Problem:    Terminal test sometimes hangs.
Solution:   Wait for the shell to display a prompt.
Files:      src/testdir/test_terminal.vim


*** ../vim-8.2.2646/src/testdir/test_terminal.vim       2021-02-23 
17:47:20.078181103 +0100
--- src/testdir/test_terminal.vim       2021-03-23 16:23:53.478988097 +0100
***************
*** 889,894 ****
--- 889,896 ----
  
  func TerminalTmap(remap)
    let buf = Run_shell_in_terminal({})
+   " Wait for the shell to display a prompt
+   call WaitForAssert({-> assert_notequal('', term_getline(buf, 1))})
    call assert_equal('t', mode())
  
    if a:remap
*** ../vim-8.2.2646/src/version.c       2021-03-22 22:21:22.785399249 +0100
--- src/version.c       2021-03-23 16:24:48.394862775 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2647,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
21. Your dog has its own home page.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202103231527.12NFR9CV2623997%40masaka.moolenaar.net.

Raspunde prin e-mail lui