Patch 8.2.3802
Problem:    Terminal in two windows test fails on some systems.
Solution:   Wait a bit between commands.
Files:      src/testdir/test_terminal.vim


*** ../vim-8.2.3801/src/testdir/test_terminal.vim       2021-12-13 
21:59:04.895993159 +0000
--- src/testdir/test_terminal.vim       2021-12-13 22:16:24.335022800 +0000
***************
*** 1378,1384 ****
  endfunc
  
  func Test_terminal_popup_two_windows()
!   CheckScreendump
    CheckUnix
  
    " use "sh" instead of "&shell" in the hope it will use a short prompt
--- 1378,1384 ----
  endfunc
  
  func Test_terminal_popup_two_windows()
!   CheckRunVimInTerminal
    CheckUnix
  
    " use "sh" instead of "&shell" in the hope it will use a short prompt
***************
*** 1398,1404 ****
    call WaitForAssert({-> assert_match("echo 'test'", term_getline(buf, 1))})
    call WaitForAssert({-> assert_match("echo 'test'", term_getline(buf, 3))})
  
!   call term_sendkeys(buf, "\<CR>exit\<CR>:q\<CR>")
    call StopVimInTerminal(buf)
    call delete('XpopupScript')
  endfunc
--- 1398,1406 ----
    call WaitForAssert({-> assert_match("echo 'test'", term_getline(buf, 1))})
    call WaitForAssert({-> assert_match("echo 'test'", term_getline(buf, 3))})
  
!   call term_sendkeys(buf, "\<CR>\<CR>exit\<CR>")
!   call TermWait(buf)
!   call term_sendkeys(buf, ":q\<CR>")
    call StopVimInTerminal(buf)
    call delete('XpopupScript')
  endfunc
*** ../vim-8.2.3801/src/version.c       2021-12-13 21:59:04.895993159 +0000
--- src/version.c       2021-12-13 22:17:10.314979450 +0000
***************
*** 751,752 ****
--- 751,754 ----
  {   /* Add new patch number below this line */
+ /**/
+     3802,
  /**/

-- 
The only backup you need is the one that you didn't have time for.
(Murphy)

 /// 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/20211213221811.7B7BF1C0D69%40moolenaar.net.

Raspunde prin e-mail lui