]> granicus.if.org Git - vim/commitdiff
patch 8.2.2359: strange test failure with MS-Windows v8.2.2359
authorBram Moolenaar <Bram@vim.org>
Sat, 16 Jan 2021 12:11:42 +0000 (13:11 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 16 Jan 2021 12:11:42 +0000 (13:11 +0100)
Problem:    Strange test failure with MS-Windows.
Solution:   Skip the system() call for now.

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

index 6f8c973d7fc4cc22e60e8dc049f0574e345552ea..5ec854e67640a87c603936c25d67c883a3d3cfc7 100644 (file)
@@ -503,6 +503,14 @@ endfunc
 " Using :blast and :ball for many events caused a crash, because b_nwindows was
 " not incremented correctly.
 func Test_autocmd_blast_badd()
+  " The system() here causes SetChangeMarks() to fail, when run in the GUI
+  " under Windows.  No idea why.  Happens with any external command, not
+  " related to the actual test.
+  " TODO: find the cause
+  if has('win32')
+    throw 'Skipped: calling system() causes problems'
+  endif
+
   let content =<< trim [CODE]
       au BufNew,BufAdd,BufWinEnter,BufEnter,BufLeave,BufWinLeave,BufUnload,VimEnter foo* blast
       edit foo1
index 3603bf4b6ffa85da73a2319e2f88bd20c6e44245..51f8f0b47d681c32670755f9c65215d62ab5dc8b 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2359,
 /**/
     2358,
 /**/