]> granicus.if.org Git - vim/commitdiff
patch 8.2.2477: autocommand tests hang on MS-Windows v8.2.2477
authorBram Moolenaar <Bram@vim.org>
Sun, 7 Feb 2021 12:32:46 +0000 (13:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 7 Feb 2021 12:32:46 +0000 (13:32 +0100)
Problem:    Autocommand tests hang on MS-Windows.
Solution:   Skip a couple of tests.  Fix file name.

src/testdir/test_autocmd.vim
src/version.c

index 3109f88bbd673a7f60829a5f2f3bbf5fc66de7ee..e4f67f4fc61ed72fa3a1558a4a965b5e72fd9c2f 100644 (file)
@@ -2761,6 +2761,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
@@ -2775,6 +2778,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:')
 
@@ -2789,7 +2795,7 @@ func Test_autocmd_vimgrep()
     au QuickfixCmdPre,BufNew,BufDelete,BufReadCmd * q9\0
   augroup END
   %bwipe!
-  call assert_fails('lv?a?\1f', 'E926:')
+  call assert_fails('lv ?a? foo', 'E926:')
 
   augroup aucmd_vimgrep
     au!
index c21856080fc63bdde23950bce9a53384134e5185..7a91c9bae8d5f8a3a35adefa729be545b2c0b422 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2477,
 /**/
     2476,
 /**/