Permalink
Browse files

patch 8.0.1058: terminal redirection test is flaky

Problem:    Terminal redirection test is flaky.
Solution:   Wait for job to finish.
  • Loading branch information...
brammool committed Sep 5, 2017
1 parent 1bfdc07 commit 8b53b79ea5304c7714cbb873210c82aa3fc8772f
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/testdir/test_terminal.vim
  2. +2 −0 src/version.c
@@ -614,6 +614,8 @@ func Test_terminal_redir_file()
call term_wait(buf)
call WaitFor('term_getline(' . buf . ', 1) == "one line"')
call assert_equal('one line', term_getline(buf, 1))
let g:job = term_getjob(buf)
call WaitFor('job_status(g:job) == "dead"')
bwipe
call delete('Xfile')
endif
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1058,
/**/
1057,
/**/

0 comments on commit 8b53b79

Please sign in to comment.