# HG changeset patch # User Bram Moolenaar # Date 1581453907 -3600 # Node ID fcd5a2acbb3d7cf43f0ce55c583915cbfdc0a4e9 # Parent c2ca0cc9c6e07de76789c2fbfc43085f4f076910 patch 8.2.0242: preview popup window test fails with long directory name Commit: https://github.com/vim/vim/commit/799439a5d85a7d45eff7485056f2798cea766300 Author: Bram Moolenaar Date: Tue Feb 11 21:44:17 2020 +0100 patch 8.2.0242: preview popup window test fails with long directory name Problem: Preview popup window test fails with long directory name. (Jakub K?dzio?ka) Solution: Use "silent cd". (closes #5615) diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 242, +/**/ 241, /**/ 240,