From: Bram Moolenaar Date: Mon, 24 Jan 2022 22:02:15 +0000 (+0000) Subject: patch 8.2.4210: window title test fails in some configurations X-Git-Tag: v8.2.4210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6c09a7c20dd8dae43a99c6dc634151940c2fc6c;p=vim 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. --- diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim index 3f197ca3d..39110bbf6 100644 --- 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 diff --git a/src/version.c b/src/version.c index 4c263aee4..5be047389 100644 --- 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 */ +/**/ + 4210, /**/ 4209, /**/