changeset 29151:6dfdbe81899e v8.2.5095

patch 8.2.5095: terminal test still fails with some shell commands Commit: https://github.com/vim/vim/commit/99f4b6e0824b339510aaaa0bb81c50f5866f6be1 Author: Bram Moolenaar <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jun 2022 21:00:02 +0200
parents d1fe80fb35e6
children d78b32c2ab40
files src/testdir/test_terminal.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)\<CR>")
 
   " Open a terminal window and wait for the prompt to appear
   call term_sendkeys(buf, ":term\<CR>")
@@ -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
--- 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,