To: vim_dev@googlegroups.com Subject: Patch 8.2.4211 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4211 (after 8.2.4208) Problem: Window title test still fails in some configurations. Solution: Use WaitForAssert(). Files: src/testdir/test_functions.vim *** ../vim-8.2.4210/src/testdir/test_functions.vim 2022-01-24 22:02:11.789104325 +0000 --- src/testdir/test_functions.vim 2022-01-24 22:14:14.064659827 +0000 *************** *** 1643,1649 **** END call writefile(lines, 'Xsetbufvar') let buf = RunVimInTerminal('-S Xsetbufvar', {}) ! call assert_match('Xa.txt', term_gettitle(buf)) call term_sendkeys(buf, "i\") call TermWait(buf) --- 1643,1649 ---- END call writefile(lines, 'Xsetbufvar') let buf = RunVimInTerminal('-S Xsetbufvar', {}) ! call WaitForAssert({-> assert_match('Xa.txt', term_gettitle(buf))}, 1000) call term_sendkeys(buf, "i\") call TermWait(buf) *** ../vim-8.2.4210/src/version.c 2022-01-24 22:02:11.789104325 +0000 --- src/version.c 2022-01-24 22:15:54.930112879 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4211, /**/ -- It is illegal to rob a bank and then shoot at the bank teller with a water pistol. [real standing law in Louisana, United States of America] /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///