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:
parent
7d56cfc861
commit
ae04a6049b
@ -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)
|
||||
|
@ -703,6 +703,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
425,
|
||||
/**/
|
||||
424,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user