# HG changeset patch # User Bram Moolenaar # Date 1662732902 -7200 # Node ID 8ddf91c8faa6c6939315dcbd888bcbed1939162d # Parent adc2b808fb8788eff0bda3e070480f884a831549 patch 9.0.0425: autocmd test is a bit flaky on MS-Windows Commit: https://github.com/vim/vim/commit/ae04a6049b3f0e30a671966ed2dda1979e0b5f20 Author: Bram Moolenaar Date: Fri Sep 9 15:08:10 2022 +0100 patch 9.0.0425: autocmd test is a bit flaky on MS-Windows Problem: Autocmd test is a bit flaky on MS-Windows. Solution: Add a bit more sleeping. (Ken Takata, closes https://github.com/vim/vim/issues/11095) diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -763,7 +763,7 @@ func Test_autocmd_bufwipe_in_SessLoadPos call writefile(content, 'Xvimrc', 'D') call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq') - sleep 50m + sleep 100m let errors = join(readfile('Xerrors')) call assert_match('E814:', errors) @@ -787,6 +787,7 @@ func Test_autocmd_blast_badd() call writefile(content, 'XblastBall', 'D') call system(GetVimCommand() .. ' --clean -S XblastBall') + sleep 100m call assert_match('OK', readfile('Xerrors')->join()) call delete('Xerrors') @@ -823,6 +824,7 @@ func Test_autocmd_bufwipe_in_SessLoadPos 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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 425, +/**/ 424, /**/ 423,