Patch 8.1.2404
Problem:    Channel test fails under valgrind.
Solution:   Sleep a bit longer.
Files:      src/testdir/test_channel.vim


*** ../vim-8.1.2403/src/testdir/test_channel.vim        2019-12-01 
15:23:07.468344489 +0100
--- src/testdir/test_channel.vim        2019-12-07 17:09:24.318262654 +0100
***************
*** 1860,1866 ****
    " Terminate job by signal
    let cmd = ['sleep', '10']
    let job = job_start(cmd)
!   sleep 10m
    call job_stop(job)
    call WaitForAssert({-> assert_equal("dead", job_status(job))})
    let info = job_info(job)
--- 1860,1867 ----
    " Terminate job by signal
    let cmd = ['sleep', '10']
    let job = job_start(cmd)
!   " 10m usually works but 50m is needed when running Valgrind
!   sleep 50m
    call job_stop(job)
    call WaitForAssert({-> assert_equal("dead", job_status(job))})
    let info = job_info(job)
*** ../vim-8.1.2403/src/version.c       2019-12-07 17:05:27.827578338 +0100
--- src/version.c       2019-12-07 17:10:05.302048364 +0100
***************
*** 744,745 ****
--- 744,747 ----
  {   /* Add new patch number below this line */
+ /**/
+     2404,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
217. Your sex life has drastically improved...so what if it's only cyber-sex!

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201912071611.xB7GBtQG007776%40masaka.moolenaar.net.

Raspunde prin e-mail lui