aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-20 11:09:20 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-21 19:07:50 +0800
commit69fc23ed9819f2640106ce38613ed6f0962ae926 (patch)
treeb2694f94a834dd497e5093b1922675a8318bfd7a
parent1664e3d4bcc122e6a3b064a3fe20fdc163f6ae9d (diff)
downloadrneovim-69fc23ed9819f2640106ce38613ed6f0962ae926.tar.gz
rneovim-69fc23ed9819f2640106ce38613ed6f0962ae926.tar.bz2
rneovim-69fc23ed9819f2640106ce38613ed6f0962ae926.zip
vim-patch:8.2.2477: autocommand tests hang on MS-Windows
Problem: Autocommand tests hang on MS-Windows. Solution: Skip a couple of tests. Fix file name. https://github.com/vim/vim/commit/dd07c02232e91ee963b91a4477179d4b9548b862
-rw-r--r--src/nvim/testdir/test_autocmd.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
index 7320750cab..12b6ab26bc 100644
--- a/src/nvim/testdir/test_autocmd.vim
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -2717,6 +2717,9 @@ endfunc
" Fuzzer found some strange combination that caused a crash.
func Test_autocmd_normal_mess()
+ " For unknown reason this hangs on MS-Windows
+ CheckNotMSWindows
+
augroup aucmd_normal_test
au BufLeave,BufWinLeave,BufHidden,BufUnload,BufDelete,BufWipeout * norm 7q/qc
augroup END
@@ -2733,6 +2736,9 @@ func Test_autocmd_normal_mess()
endfunc
func Test_autocmd_closing_cmdwin()
+ " For unknown reason this hangs on MS-Windows
+ CheckNotMSWindows
+
au BufWinLeave * nested q
call assert_fails("norm 7q?\n", 'E855:')
@@ -2747,7 +2753,7 @@ func Test_autocmd_vimgrep()
au QuickfixCmdPre,BufNew,BufDelete,BufReadCmd * q9
augroup END
%bwipe!
- call assert_fails('lv?a?', 'E926:')
+ call assert_fails('lv ?a? foo', 'E926:')
augroup aucmd_vimgrep
au!