changeset 9191:ce045e4d3244 v7.4.1879

commit https://github.com/vim/vim/commit/e38a2f7ebda791bcecccd657919ae9f7e2f6438c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 2 20:07:09 2016 +0200 patch 7.4.1879 Problem: Channel test is flaky. Solution: Wait for close_cb to be invoked.
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Jun 2016 20:15:06 +0200
parents 468d1d8dc054
children bad4d76bf8d8
files src/testdir/test_channel.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -708,7 +708,7 @@ func Run_test_pipe_to_buffer(use_name, n
     call ch_sendraw(handle, "double this\n")
     call ch_sendraw(handle, "quit\n")
     sp pipe-output
-    call s:waitFor('line("$") >= 6')
+    call s:waitFor('line("$") >= 6 && s:bufClosed == "yes"')
     call assert_equal([firstline, 'line one', 'line two', 'this', 'AND this', 'Goodbye!'], getline(1, '$'))
     if a:nomod
       call assert_equal(0, &modifiable)
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1879,
+/**/
     1878,
 /**/
     1877,