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.
dd07c02232
This commit is contained in:
zeertzjq 2022-04-20 11:09:20 +08:00
parent 1664e3d4bc
commit 69fc23ed98

View File

@ -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!