0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 9.0.0958: messages test is flaky

Problem:    Messages test is flaky.
Solution:   Add a short delay.
This commit is contained in:
Bram Moolenaar 2022-11-27 14:39:31 +00:00
parent 64fabf3802
commit 19cf525c20
4 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,5 @@
" Filter that removes the ever changing temp directory name from the screendump
" that shows the system() command executed.
1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+
" This should be on the first line, but if it isn't there ignore the error,
" the screendump will then show the problem.
1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+e

View File

@ -1,3 +1,5 @@
" Filter that removes the ever changing temp directory name from the screendump
" that shows the system() command executed.
1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+
" This should be on the first line, but if it isn't there ignore the error,
" the screendump will then show the problem.
1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+e

View File

@ -349,7 +349,7 @@ func Test_echo_verbose_system()
" display a page and go back, results in exactly the same view
call term_sendkeys(buf, ' ')
call TermWait(buf)
call TermWait(buf, 50)
call term_sendkeys(buf, 'b')
call VerifyScreenDump(buf, 'Test_verbose_system_1', {})
@ -362,7 +362,7 @@ func Test_echo_verbose_system()
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})
call term_sendkeys(buf, ' ')
call TermWait(buf)
call TermWait(buf, 50)
call term_sendkeys(buf, 'b')
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})

View File

@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
958,
/**/
957,
/**/