To: vim_dev@googlegroups.com Subject: Patch 7.4.1879 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///