From ae04a6049b3f0e30a671966ed2dda1979e0b5f20 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 9 Sep 2022 15:08:10 +0100 Subject: [PATCH] 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 #11095) --- src/testdir/test_autocmd.vim | 4 +++- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index 337019096..458ac38f4 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -763,7 +763,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost() 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_SessLoadPost2() 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 index 24c99fd4e..34fa8ef22 100644 --- a/src/version.c +++ b/src/version.c @@ -703,6 +703,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 425, /**/ 424, /**/ -- 2.50.1