0
0
mirror of https://github.com/vim/vim.git synced 2025-09-05 21:43:39 -04:00

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)
This commit is contained in:
Bram Moolenaar 2022-09-09 15:08:10 +01:00
parent 7d56cfc861
commit ae04a6049b
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -703,6 +703,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
425,
/**/
424,
/**/