From a6c09a7c20dd8dae43a99c6dc634151940c2fc6c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 24 Jan 2022 22:02:15 +0000 Subject: [PATCH] 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. --- src/testdir/test_functions.vim | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) 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, /**/ -- 2.50.1