comparison src/testdir/test_autocmd.vim @ 19651:283c8bc6a8e2 v8.2.0382

patch 8.2.0382: some tests fail when run under valgrind Commit: https://github.com/vim/vim/commit/353c351bd22e4dac4c3ae9cd7731032348f248c4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 15 14:19:26 2020 +0100 patch 8.2.0382: some tests fail when run under valgrind Problem: Some tests fail when run under valgrind. Solution: Increase timeouts.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Mar 2020 14:30:05 +0100
parents e7eec9cae0ea
children c3f506e24eab
comparison
equal deleted inserted replaced
19650:1d036bf38467 19651:283c8bc6a8e2
2281 let buf = RunVimInTerminal('-S '.filename, #{rows: 6}) 2281 let buf = RunVimInTerminal('-S '.filename, #{rows: 6})
2282 2282
2283 call term_sendkeys(buf, "q:") 2283 call term_sendkeys(buf, "q:")
2284 call term_wait(buf) 2284 call term_wait(buf)
2285 call term_sendkeys(buf, ":echo b:dummy_var\<cr>") 2285 call term_sendkeys(buf, ":echo b:dummy_var\<cr>")
2286 call WaitForAssert({-> assert_match('^This is a dummy', term_getline(buf, 6))}, 1000) 2286 call WaitForAssert({-> assert_match('^This is a dummy', term_getline(buf, 6))}, 2000)
2287 call term_sendkeys(buf, ":echo &buftype\<cr>") 2287 call term_sendkeys(buf, ":echo &buftype\<cr>")
2288 call WaitForAssert({-> assert_notmatch('^nofile', term_getline(buf, 6))}, 1000) 2288 call WaitForAssert({-> assert_notmatch('^nofile', term_getline(buf, 6))}, 1000)
2289 call term_sendkeys(buf, ":echo winnr\<cr>") 2289 call term_sendkeys(buf, ":echo winnr\<cr>")
2290 call WaitForAssert({-> assert_match('^1', term_getline(buf, 6))}, 1000) 2290 call WaitForAssert({-> assert_match('^1', term_getline(buf, 6))}, 1000)
2291 2291