To: vim_dev@googlegroups.com Subject: Patch 9.0.0226 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0226 Problem: job_start() test may fail under valgrind. Solution: Wait until the job is running. Files: src/testdir/test_vim9_builtin.vim *** ../vim-9.0.0225/src/testdir/test_vim9_builtin.vim 2022-08-14 12:07:06.918862666 +0100 --- src/testdir/test_vim9_builtin.vim 2022-08-18 15:14:31.620851480 +0100 *************** *** 528,533 **** --- 528,534 ---- v9.CheckDefAndScriptFailure(['ch_getbufnr(test_null_channel(), 1)'], ['E1013: Argument 2: type mismatch, expected string but got number', 'E1174: String required for argument 2']) # test empty string argument for ch_getbufnr() var job: job = job_start(&shell) + g:WaitForAssert(() => assert_equal('run', job_status(job))) job->ch_getbufnr('')->assert_equal(-1) job_stop(job) endif *** ../vim-9.0.0225/src/version.c 2022-08-18 13:28:27.724128103 +0100 --- src/version.c 2022-08-18 15:17:53.208902038 +0100 *************** *** 733,734 **** --- 733,736 ---- { /* Add new patch number below this line */ + /**/ + 226, /**/ -- ARTHUR: I command you as King of the Britons to stand aside! BLACK KNIGHT: I move for no man. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///