]> granicus.if.org Git - vim/commitdiff
patch 8.1.2403: autocmd test fails under valgrind v8.1.2403
authorBram Moolenaar <Bram@vim.org>
Sat, 7 Dec 2019 16:05:31 +0000 (17:05 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 7 Dec 2019 16:05:31 +0000 (17:05 +0100)
Problem:    Autocmd test fails under valgrind.
Solution:   Wait a bit longer.

src/testdir/test_autocmd.vim
src/version.c

index c16a679da340a09eff759c7db874d4da0332bcfe..ab02402398be2c6dce508f0a3e3e092c87fe292e 100644 (file)
@@ -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)
 
index 8f098f29de7b8361e9d923c0d39971f367f7c475..f991cfb3a3192ddb2022a2a055f7cd8653d1beec 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2403,
 /**/
     2402,
 /**/