1
0
forked from aniani/vim

patch 8.2.5091: terminal test fails with some shell commands

Problem:    Terminal test fails with some shell commands.
Solution:   Disable setting the window title. (closes #10530)
This commit is contained in:
Bram Moolenaar
2022-06-14 15:00:28 +01:00
parent 831d6d4c02
commit e564c7009d
2 changed files with 6 additions and 0 deletions

View File

@@ -1218,6 +1218,9 @@ endfunc
" argument, check that :confirm qall works. " argument, check that :confirm qall works.
func Test_terminal_qall_prompt() func Test_terminal_qall_prompt()
CheckRunVimInTerminal CheckRunVimInTerminal
" the shell may set the window title, we don't want that here
call test_override('vterm_title', 1)
let buf = RunVimInTerminal('', {}) let buf = RunVimInTerminal('', {})
" Open a terminal window and wait for the prompt to appear " Open a terminal window and wait for the prompt to appear
@@ -1233,6 +1236,7 @@ func Test_terminal_qall_prompt()
" close the terminal window where Vim was running " close the terminal window where Vim was running
quit quit
call test_override('ALL', 0)
endfunc endfunc
" Run Vim in a terminal, then start a terminal window with a shell and check " Run Vim in a terminal, then start a terminal window with a shell and check

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
5091,
/**/ /**/
5090, 5090,
/**/ /**/