0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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.
This commit is contained in:
Bram Moolenaar 2021-02-07 13:32:46 +01:00
parent 983d83ff1c
commit dd07c02232
2 changed files with 9 additions and 1 deletions

View File

@ -2761,6 +2761,9 @@ endfunc
" Fuzzer found some strange combination that caused a crash. " Fuzzer found some strange combination that caused a crash.
func Test_autocmd_normal_mess() func Test_autocmd_normal_mess()
" For unknown reason this hangs on MS-Windows
CheckNotMSWindows
augroup aucmd_normal_test augroup aucmd_normal_test
au BufLeave,BufWinLeave,BufHidden,BufUnload,BufDelete,BufWipeout * norm 7q/qc au BufLeave,BufWinLeave,BufHidden,BufUnload,BufDelete,BufWipeout * norm 7q/qc
augroup END augroup END
@ -2775,6 +2778,9 @@ func Test_autocmd_normal_mess()
endfunc endfunc
func Test_autocmd_closing_cmdwin() func Test_autocmd_closing_cmdwin()
" For unknown reason this hangs on MS-Windows
CheckNotMSWindows
au BufWinLeave * nested q au BufWinLeave * nested q
call assert_fails("norm 7q?\n", 'E855:') call assert_fails("norm 7q?\n", 'E855:')
@ -2789,7 +2795,7 @@ func Test_autocmd_vimgrep()
au QuickfixCmdPre,BufNew,BufDelete,BufReadCmd * q9 au QuickfixCmdPre,BufNew,BufDelete,BufReadCmd * q9
augroup END augroup END
%bwipe! %bwipe!
call assert_fails('lv?a?', 'E926:') call assert_fails('lv ?a? foo', 'E926:')
augroup aucmd_vimgrep augroup aucmd_vimgrep
au! au!

View File

@ -750,6 +750,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 */
/**/
2477,
/**/ /**/
2476, 2476,
/**/ /**/