From 799439a5d85a7d45eff7485056f2798cea766300 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 11 Feb 2020 21:44:17 +0100 Subject: [PATCH] patch 8.2.0242: preview popup window test fails with long directory name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Preview popup window test fails with long directory name. (Jakub Kądziołka) Solution: Use "silent cd". (closes #5615) --- src/testdir/test_popupwin.vim | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index ad5a80861..d331263e3 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -2821,9 +2821,9 @@ func Test_previewpopup() call term_sendkeys(buf, "/another\\}") call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_4', {}) - call term_sendkeys(buf, ":cd ..\:\") + call term_sendkeys(buf, ":silent cd ..\:\") call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_5', {}) - call term_sendkeys(buf, ":cd testdir\") + call term_sendkeys(buf, ":silent cd testdir\") call term_sendkeys(buf, ":pclose\") call term_sendkeys(buf, ":\") diff --git a/src/version.c b/src/version.c index f9ddda404..9b9f41261 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 242, /**/ 241, /**/