Permalink
Browse files

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.
  • Loading branch information...
brammool committed May 12, 2018
1 parent ee62f9f commit 54c6bafa1609f2d870874d0047b394670602350e
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/testdir/test_terminal.vim
  2. +2 −0 src/version.c
@@ -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 error', term_getline(buf, 1))
call WaitForAssert({-> assert_equal('dead', job_status(term_getjob(buf)))})
exe buf . 'bwipe'
call delete('Xechoerrout.sh')
call delete(outfile)
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1823,
/**/
1822,
/**/

0 comments on commit 54c6baf

Please sign in to comment.