aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-22 18:14:19 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-22 18:56:43 +0800
commit1da705c433c3519a65fd36d77792360cf479db2a (patch)
tree842f6c8026733ce51da13342dcb13bb01c99f1cc
parent10990eace23fa7eef39203359dca8f9cde1dcc90 (diff)
downloadrneovim-1da705c433c3519a65fd36d77792360cf479db2a.tar.gz
rneovim-1da705c433c3519a65fd36d77792360cf479db2a.tar.bz2
rneovim-1da705c433c3519a65fd36d77792360cf479db2a.zip
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 vim/vim#11095) https://github.com/vim/vim/commit/ae04a6049b3f0e30a671966ed2dda1979e0b5f20 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--test/old/testdir/test_autocmd.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim
index a69b293dbd..33c51704f4 100644
--- a/test/old/testdir/test_autocmd.vim
+++ b/test/old/testdir/test_autocmd.vim
@@ -971,7 +971,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost()
call writefile(content, 'Xvimrc', 'D')
call system(GetVimCommand('Xvimrc') .. ' --headless --noplugins -S Session.vim -c cq')
- sleep 50m
+ sleep 100m
let errors = join(readfile('Xerrors'))
call assert_match('E814:', errors)
@@ -995,6 +995,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')
@@ -1031,6 +1032,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost2()
call writefile(content, 'Xvimrc', 'D')
call system(GetVimCommand('Xvimrc') .. ' --headless --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)