]> granicus.if.org Git - vim/commitdiff
patch 9.0.0425: autocmd test is a bit flaky on MS-Windows v9.0.0425
authorBram Moolenaar <Bram@vim.org>
Fri, 9 Sep 2022 14:08:10 +0000 (15:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 9 Sep 2022 14:08:10 +0000 (15:08 +0100)
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
src/version.c

index 337019096084daa0f4f66e6baa6ceacef571b409..458ac38f47ba06b2ddc47aff238ef939a4aba58e 100644 (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)
index 24c99fd4e7d9a26be9d630d33252501f3c51f586..34fa8ef228db4f5531cb9ecde05591596f38d0b6 100644 (file)
@@ -703,6 +703,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    425,
 /**/
     424,
 /**/