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)
This commit is contained in:
Bram Moolenaar
2020-02-11 21:44:17 +01:00
parent 99234f29aa
commit 799439a5d8
2 changed files with 4 additions and 2 deletions

View File

@ -2821,9 +2821,9 @@ func Test_previewpopup()
call term_sendkeys(buf, "/another\<CR>\<C-W>}")
call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_4', {})
call term_sendkeys(buf, ":cd ..\<CR>:\<CR>")
call term_sendkeys(buf, ":silent cd ..\<CR>:\<CR>")
call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_5', {})
call term_sendkeys(buf, ":cd testdir\<CR>")
call term_sendkeys(buf, ":silent cd testdir\<CR>")
call term_sendkeys(buf, ":pclose\<CR>")
call term_sendkeys(buf, ":\<BS>")

View File

@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
242,
/**/
241,
/**/