To: vim_dev@googlegroups.com Subject: Patch 9.0.0958 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0958 Problem: Messages test is flaky. Solution: Add a short delay. Files: src/testdir/test_messages.vim, src/testdir/dumps/Test_verbose_system_1.vim, src/testdir/dumps/Test_verbose_system_2.vim *** ../vim-9.0.0957/src/testdir/test_messages.vim 2022-10-07 14:31:04.324852691 +0100 --- src/testdir/test_messages.vim 2022-11-27 14:31:32.929380497 +0000 *************** *** 349,355 **** " display a page and go back, results in exactly the same view call term_sendkeys(buf, ' ') ! call TermWait(buf) call term_sendkeys(buf, 'b') call VerifyScreenDump(buf, 'Test_verbose_system_1', {}) --- 349,355 ---- " display a page and go back, results in exactly the same view call term_sendkeys(buf, ' ') ! call TermWait(buf, 50) call term_sendkeys(buf, 'b') call VerifyScreenDump(buf, 'Test_verbose_system_1', {}) *************** *** 362,368 **** call VerifyScreenDump(buf, 'Test_verbose_system_2', {}) call term_sendkeys(buf, ' ') ! call TermWait(buf) call term_sendkeys(buf, 'b') call VerifyScreenDump(buf, 'Test_verbose_system_2', {}) --- 362,368 ---- call VerifyScreenDump(buf, 'Test_verbose_system_2', {}) call term_sendkeys(buf, ' ') ! call TermWait(buf, 50) call term_sendkeys(buf, 'b') call VerifyScreenDump(buf, 'Test_verbose_system_2', {}) *** ../vim-9.0.0957/src/testdir/dumps/Test_verbose_system_1.vim 2022-09-26 19:50:07.463112932 +0100 --- src/testdir/dumps/Test_verbose_system_1.vim 2022-11-27 14:28:32.257459986 +0000 *************** *** 1,3 **** " Filter that removes the ever changing temp directory name from the screendump " that shows the system() command executed. ! 1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+ --- 1,5 ---- " Filter that removes the ever changing temp directory name from the screendump " that shows the system() command executed. ! " This should be on the first line, but if it isn't there ignore the error, ! " the screendump will then show the problem. ! 1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+e *** ../vim-9.0.0957/src/testdir/dumps/Test_verbose_system_2.vim 2022-09-26 19:50:07.463112932 +0100 --- src/testdir/dumps/Test_verbose_system_2.vim 2022-11-27 14:28:52.141448736 +0000 *************** *** 1,3 **** " Filter that removes the ever changing temp directory name from the screendump " that shows the system() command executed. ! 1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+ --- 1,5 ---- " Filter that removes the ever changing temp directory name from the screendump " that shows the system() command executed. ! " This should be on the first line, but if it isn't there ignore the error, ! " the screendump will then show the problem. ! 1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+e *** ../vim-9.0.0957/src/version.c 2022-11-27 13:51:18.854338794 +0000 --- src/version.c 2022-11-27 13:55:07.347332656 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 958, /**/ -- hundred-and-one symptoms of being an internet addict: 158. You get a tuner card so you can watch TV while surfing. /// 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 ///