Patch 7.4.1879 (after 7.4.1877)
Problem: Channel test is flaky.
Solution: Wait for close_cb to be invoked.
Files: src/testdir/test_channel.vim
*** ../vim-7.4.1878/src/testdir/test_channel.vim 2016-06-02
19:06:20.276432943 +0200
--- src/testdir/test_channel.vim 2016-06-02 20:04:02.856385313 +0200
***************
*** 708,714 ****
call ch_sendraw(handle, "double this\n")
call ch_sendraw(handle, "quit\n")
sp pipe-output
! call s:waitFor('line("$") >= 6')
call assert_equal([firstline, 'line one', 'line two', 'this', 'AND this',
'Goodbye!'], getline(1, '$'))
if a:nomod
call assert_equal(0, &modifiable)
--- 708,714 ----
call ch_sendraw(handle, "double this\n")
call ch_sendraw(handle, "quit\n")
sp pipe-output
! 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)
*** ../vim-7.4.1878/src/version.c 2016-06-02 20:05:22.480384217 +0200
--- src/version.c 2016-06-02 20:06:18.104383452 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1879,
/**/
--
On the other hand, you have different fingers.
-- Steven Wright
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.