To: vim_dev@googlegroups.com Subject: Patch 8.0.1670 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1670 Problem: Terminal window tests are still a bit flaky. Solution: Increase the waiting time for the buffer to be created. Files: src/testdir/test_terminal.vim *** ../vim-8.0.1669/src/testdir/test_terminal.vim 2018-04-04 22:57:24.113853625 +0200 --- src/testdir/test_terminal.vim 2018-04-07 10:40:32.133964336 +0200 *************** *** 1061,1067 **** \ "set t_ts=", \ ], 'Xscript') let buf = RunVimInTerminal('-S Xscript', {}) ! call WaitFor({-> bufnr('Xtextfile') > 0}) call assert_equal('Xtextfile', expand('%:t')) call assert_true(winnr('$') >= 3) return buf --- 1061,1067 ---- \ "set t_ts=", \ ], 'Xscript') let buf = RunVimInTerminal('-S Xscript', {}) ! call WaitFor({-> bufnr('Xtextfile') > 0}, 2000) call assert_equal('Xtextfile', expand('%:t')) call assert_true(winnr('$') >= 3) return buf *** ../vim-8.0.1669/src/version.c 2018-04-06 22:58:18.762068116 +0200 --- src/version.c 2018-04-07 10:41:42.117647428 +0200 *************** *** 764,765 **** --- 764,767 ---- { /* Add new patch number below this line */ + /**/ + 1670, /**/ -- hundred-and-one symptoms of being an internet addict: 118. You are on a first-name basis with your ISP's staff. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///