To: vim_dev@googlegroups.com Subject: Patch 8.2.2647 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2647 Problem: Terminal test sometimes hangs. Solution: Wait for the shell to display a prompt. Files: src/testdir/test_terminal.vim *** ../vim-8.2.2646/src/testdir/test_terminal.vim 2021-02-23 17:47:20.078181103 +0100 --- src/testdir/test_terminal.vim 2021-03-23 16:23:53.478988097 +0100 *************** *** 889,894 **** --- 889,896 ---- func TerminalTmap(remap) let buf = Run_shell_in_terminal({}) + " Wait for the shell to display a prompt + call WaitForAssert({-> assert_notequal('', term_getline(buf, 1))}) call assert_equal('t', mode()) if a:remap *** ../vim-8.2.2646/src/version.c 2021-03-22 22:21:22.785399249 +0100 --- src/version.c 2021-03-23 16:24:48.394862775 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2647, /**/ -- hundred-and-one symptoms of being an internet addict: 21. Your dog has its own home page. /// 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 ///