mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.0.1823: test for terminal stdout redirection is flaky
Problem: Test for terminal stdout redirection is flaky. Solution: Wait for the job to finish.
This commit is contained in:
parent
ee62f9fa74
commit
54c6bafa16
@ -1502,6 +1502,7 @@ func Test_terminal_out_err()
|
|||||||
call assert_equal("this is standard out", readfile(outfile)[0])
|
call assert_equal("this is standard out", readfile(outfile)[0])
|
||||||
call assert_equal('this is standard error', term_getline(buf, 1))
|
call assert_equal('this is standard error', term_getline(buf, 1))
|
||||||
|
|
||||||
|
call WaitForAssert({-> assert_equal('dead', job_status(term_getjob(buf)))})
|
||||||
exe buf . 'bwipe'
|
exe buf . 'bwipe'
|
||||||
call delete('Xechoerrout.sh')
|
call delete('Xechoerrout.sh')
|
||||||
call delete(outfile)
|
call delete(outfile)
|
||||||
|
@ -761,6 +761,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 */
|
||||||
|
/**/
|
||||||
|
1823,
|
||||||
/**/
|
/**/
|
||||||
1822,
|
1822,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user