Mercurial > vim
comparison src/testdir/test_autocmd.vim @ 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 | 068337e86133 |
children | 45eb6f37692e |
comparison
equal
deleted
inserted
replaced
18831:6848b809a26e | 18832:b3eb5102447a |
---|---|
2251 | 2251 |
2252 call term_sendkeys(buf, ":echo g:again\<CR>") | 2252 call term_sendkeys(buf, ":echo g:again\<CR>") |
2253 call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000) | 2253 call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000) |
2254 | 2254 |
2255 call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>") | 2255 call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>") |
2256 call term_wait(buf) | 2256 call term_wait(buf, 50) |
2257 call term_sendkeys(buf, ":\<CR>") | 2257 call term_sendkeys(buf, ":\<CR>") |
2258 call term_wait(buf) | 2258 call term_wait(buf, 50) |
2259 call term_sendkeys(buf, ":echo g:again\<CR>") | 2259 call term_sendkeys(buf, ":echo g:again\<CR>") |
2260 call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000) | 2260 call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000) |
2261 | 2261 |
2262 call StopVimInTerminal(buf) | 2262 call StopVimInTerminal(buf) |
2263 call delete('XSafeState') | 2263 call delete('XSafeState') |