mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.0.1058: terminal redirection test is flaky
Problem: Terminal redirection test is flaky. Solution: Wait for job to finish.
This commit is contained in:
parent
1bfdc07a49
commit
8b53b79ea5
@ -614,6 +614,8 @@ func Test_terminal_redir_file()
|
|||||||
call term_wait(buf)
|
call term_wait(buf)
|
||||||
call WaitFor('term_getline(' . buf . ', 1) == "one line"')
|
call WaitFor('term_getline(' . buf . ', 1) == "one line"')
|
||||||
call assert_equal('one line', term_getline(buf, 1))
|
call assert_equal('one line', term_getline(buf, 1))
|
||||||
|
let g:job = term_getjob(buf)
|
||||||
|
call WaitFor('job_status(g:job) == "dead"')
|
||||||
bwipe
|
bwipe
|
||||||
call delete('Xfile')
|
call delete('Xfile')
|
||||||
endif
|
endif
|
||||||
|
@ -769,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1058,
|
||||||
/**/
|
/**/
|
||||||
1057,
|
1057,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user