# HG changeset patch # User Bram Moolenaar # Date 1639434604 -3600 # Node ID d9aac1eaf9a3f64b56482e1e8962b316803e7a4b # Parent 6c154aa39bf362af61b608cd2395aa9ce3e29c96 patch 8.2.3802: terminal in two windows test fails on some systems Commit: https://github.com/vim/vim/commit/0407d270342d363c6297a7556cd904b4c434df54 Author: Bram Moolenaar Date: Mon Dec 13 22:17:44 2021 +0000 patch 8.2.3802: terminal in two windows test fails on some systems Problem: Terminal in two windows test fails on some systems. Solution: Wait a bit between commands. diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim --- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -1378,7 +1378,7 @@ func Test_terminal_popup_bufload() endfunc func Test_terminal_popup_two_windows() - CheckScreendump + CheckRunVimInTerminal CheckUnix " use "sh" instead of "&shell" in the hope it will use a short prompt @@ -1398,7 +1398,9 @@ func Test_terminal_popup_two_windows() call WaitForAssert({-> assert_match("echo 'test'", term_getline(buf, 1))}) call WaitForAssert({-> assert_match("echo 'test'", term_getline(buf, 3))}) - call term_sendkeys(buf, "\exit\:q\") + call term_sendkeys(buf, "\\exit\") + call TermWait(buf) + call term_sendkeys(buf, ":q\") call StopVimInTerminal(buf) call delete('XpopupScript') endfunc diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3802, +/**/ 3801, /**/ 3800,