diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-09 15:08:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-09 15:08:10 +0100 |
commit | ae04a6049b3f0e30a671966ed2dda1979e0b5f20 (patch) | |
tree | 416df6ba64ebc75e1861d64e05c1d9e5659c3fbb | |
parent | 7d56cfc861e57145f003315efd835cf5dfd5b145 (diff) | |
download | vim-git-ae04a6049b3f0e30a671966ed2dda1979e0b5f20.tar.gz |
patch 9.0.0425: autocmd test is a bit flaky on MS-Windowsv9.0.0425
Problem: Autocmd test is a bit flaky on MS-Windows.
Solution: Add a bit more sleeping. (Ken Takata, closes #11095)
-rw-r--r-- | src/testdir/test_autocmd.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 425, +/**/ 424, /**/ 423, |