changeset 27364:3834b8385025 v8.2.4210

patch 8.2.4210: window title test fails in some configurations Commit: https://github.com/vim/vim/commit/a6c09a7c20dd8dae43a99c6dc634151940c2fc6c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 24 22:02:15 2022 +0000 patch 8.2.4210: window title test fails in some configurations Problem: Window title test fails in some configurations. Solution: Only run the test if the title can be obtained.
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 23:15:04 +0100
parents a2e082438ef9
children 167854be2d22
files src/testdir/test_functions.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -1632,6 +1632,9 @@ endfunc
 
 func Test_setbufvar_keep_window_title()
   CheckRunVimInTerminal
+  if !has('title') || empty(&t_ts)
+    throw "Skipped: can't get/set title"
+  endif
 
   let lines =<< trim END
       edit Xa.txt
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4210,
+/**/
     4209,
 /**/
     4208,