To: vim_dev@googlegroups.com Subject: Patch 9.0.0425 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0425 Problem: Autocmd test is a bit flaky on MS-Windows. Solution: Add a bit more sleeping. (Ken Takata, closes #11095) Files: src/testdir/test_autocmd.vim *** ../vim-9.0.0424/src/testdir/test_autocmd.vim 2022-09-08 12:27:58.281556519 +0100 --- src/testdir/test_autocmd.vim 2022-09-09 15:06:54.401152773 +0100 *************** *** 763,769 **** call writefile(content, 'Xvimrc', 'D') call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq') ! sleep 50m let errors = join(readfile('Xerrors')) call assert_match('E814:', errors) --- 763,769 ---- call writefile(content, 'Xvimrc', 'D') call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq') ! sleep 100m let errors = join(readfile('Xerrors')) call assert_match('E814:', errors) *************** *** 787,792 **** --- 787,793 ---- call writefile(content, 'XblastBall', 'D') call system(GetVimCommand() .. ' --clean -S XblastBall') + sleep 100m call assert_match('OK', readfile('Xerrors')->join()) call delete('Xerrors') *************** *** 823,828 **** --- 824,830 ---- call writefile(content, 'Xvimrc', 'D') call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq') + sleep 100m let errors = join(readfile('Xerrors')) " This probably only ever matches on unix. call assert_notmatch('Caught deadly signal SEGV', errors) *** ../vim-9.0.0424/src/version.c 2022-09-09 14:11:37.288559555 +0100 --- src/version.c 2022-09-09 15:07:51.117039702 +0100 *************** *** 705,706 **** --- 705,708 ---- { /* Add new patch number below this line */ + /**/ + 425, /**/ -- Due knot trussed yore spell chequer two fined awl miss steaks. /// 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 ///