0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

patch 7.4.1879

Problem:    Channel test is flaky.
Solution:   Wait for close_cb to be invoked.
This commit is contained in:
Bram Moolenaar 2016-06-02 20:07:09 +02:00
parent cf7c11a947
commit e38a2f7ebd
2 changed files with 3 additions and 1 deletions

View File

@ -708,7 +708,7 @@ func Run_test_pipe_to_buffer(use_name, nomod)
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)

View File

@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1879,
/**/
1878,
/**/