# HG changeset patch # User Bram Moolenaar # Date 1655233202 -7200 # Node ID 6dfdbe81899eda71b0478ff307aaca3b8a4fba16 # Parent d1fe80fb35e630d5e7f27ee4e090331a2581b5e7 patch 8.2.5095: terminal test still fails with some shell commands Commit: https://github.com/vim/vim/commit/99f4b6e0824b339510aaaa0bb81c50f5866f6be1 Author: Bram Moolenaar Date: Tue Jun 14 19:52:16 2022 +0100 patch 8.2.5095: terminal test still fails with some shell commands Problem: Terminal test still fails with some shell commands. Solution: Disable setting the window title in the Vim instance running in a terminal window. (closes #10530) 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 @@ -1219,9 +1219,10 @@ endfunc func Test_terminal_qall_prompt() CheckRunVimInTerminal + let buf = RunVimInTerminal('', {}) + " the shell may set the window title, we don't want that here - call test_override('vterm_title', 1) - let buf = RunVimInTerminal('', {}) + call term_sendkeys(buf, ":test_override('vterm_title', 1)\") " Open a terminal window and wait for the prompt to appear call term_sendkeys(buf, ":term\") @@ -1236,7 +1237,6 @@ func Test_terminal_qall_prompt() " close the terminal window where Vim was running quit - call test_override('ALL', 0) endfunc " Run Vim in a terminal, then start a terminal window with a shell and check diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5095, +/**/ 5094, /**/ 5093,