changeset 18832:b3eb5102447a v8.1.2403

patch 8.1.2403: autocmd test fails under valgrind Commit: https://github.com/vim/vim/commit/3c47e8384de62dd67748454a853677e32ee7842c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 7 17:05:31 2019 +0100 patch 8.1.2403: autocmd test fails under valgrind Problem: Autocmd test fails under valgrind. Solution: Wait a bit longer.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Dec 2019 17:15:04 +0100
parents 6848b809a26e
children f6e277de1ae1
files src/testdir/test_autocmd.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2253,9 +2253,9 @@ func Test_autocmd_SafeState()
   call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000)
 
   call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>")
-  call term_wait(buf)
+  call term_wait(buf, 50)
   call term_sendkeys(buf, ":\<CR>")
-  call term_wait(buf)
+  call term_wait(buf, 50)
   call term_sendkeys(buf, ":echo g:again\<CR>")
   call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000)
 
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2403,
+/**/
     2402,
 /**/
     2401,