Skip to content

Commit dd07c02

Browse files
committed
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.
1 parent 983d83f commit dd07c02

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

src/testdir/test_autocmd.vim

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2761,6 +2761,9 @@ endfunc
27612761

27622762
" Fuzzer found some strange combination that caused a crash.
27632763
func Test_autocmd_normal_mess()
2764+
" For unknown reason this hangs on MS-Windows
2765+
CheckNotMSWindows
2766+
27642767
augroup aucmd_normal_test
27652768
au BufLeave,BufWinLeave,BufHidden,BufUnload,BufDelete,BufWipeout * norm 7q/qc
27662769
augroup END
@@ -2775,6 +2778,9 @@ func Test_autocmd_normal_mess()
27752778
endfunc
27762779

27772780
func Test_autocmd_closing_cmdwin()
2781+
" For unknown reason this hangs on MS-Windows
2782+
CheckNotMSWindows
2783+
27782784
au BufWinLeave * nested q
27792785
call assert_fails("norm 7q?\n", 'E855:')
27802786

@@ -2789,7 +2795,7 @@ func Test_autocmd_vimgrep()
27892795
au QuickfixCmdPre,BufNew,BufDelete,BufReadCmd * q9
27902796
augroup END
27912797
%bwipe!
2792-
call assert_fails('lv?a?', 'E926:')
2798+
call assert_fails('lv ?a? foo', 'E926:')
27932799

27942800
augroup aucmd_vimgrep
27952801
au!

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2477,
753755
/**/
754756
2476,
755757
/**/

0 commit comments

Comments
 (0)