forked from aniani/vim
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:
@@ -763,7 +763,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost()
|
|||||||
|
|
||||||
call writefile(content, 'Xvimrc', 'D')
|
call writefile(content, 'Xvimrc', 'D')
|
||||||
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
|
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
|
||||||
sleep 50m
|
sleep 100m
|
||||||
let errors = join(readfile('Xerrors'))
|
let errors = join(readfile('Xerrors'))
|
||||||
call assert_match('E814:', errors)
|
call assert_match('E814:', errors)
|
||||||
|
|
||||||
@@ -787,6 +787,7 @@ func Test_autocmd_blast_badd()
|
|||||||
|
|
||||||
call writefile(content, 'XblastBall', 'D')
|
call writefile(content, 'XblastBall', 'D')
|
||||||
call system(GetVimCommand() .. ' --clean -S XblastBall')
|
call system(GetVimCommand() .. ' --clean -S XblastBall')
|
||||||
|
sleep 100m
|
||||||
call assert_match('OK', readfile('Xerrors')->join())
|
call assert_match('OK', readfile('Xerrors')->join())
|
||||||
|
|
||||||
call delete('Xerrors')
|
call delete('Xerrors')
|
||||||
@@ -823,6 +824,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost2()
|
|||||||
|
|
||||||
call writefile(content, 'Xvimrc', 'D')
|
call writefile(content, 'Xvimrc', 'D')
|
||||||
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
|
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
|
||||||
|
sleep 100m
|
||||||
let errors = join(readfile('Xerrors'))
|
let errors = join(readfile('Xerrors'))
|
||||||
" This probably only ever matches on unix.
|
" This probably only ever matches on unix.
|
||||||
call assert_notmatch('Caught deadly signal SEGV', errors)
|
call assert_notmatch('Caught deadly signal SEGV', errors)
|
||||||
|
@@ -703,6 +703,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
425,
|
||||||
/**/
|
/**/
|
||||||
424,
|
424,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user