]> granicus.if.org Git - vim/commitdiff
patch 8.0.0185: system() test fails on MS-Windows v8.0.0185
authorBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2017 18:38:36 +0000 (19:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2017 18:38:36 +0000 (19:38 +0100)
Problem:    The system() test fails on MS-Windows.
Solution:   Skip the test on MS-Windows.

src/testdir/test_system.vim
src/version.c

index f82f751a91854213eda63b164a0d28da8c8a09c1..a7de57aaccdc322f56122b8acaa015d0b8b29d3d 100644 (file)
@@ -48,6 +48,10 @@ function! Test_System()
 endfunction
 
 function! Test_system_exmode()
+  if !has('unix')
+    return
+  endif
+
   let cmd=" -es -u NONE -c 'source Xscript' +q; echo $?"
   " Need to put this in a script, "catch" isn't found after an unknown
   " function.
index be361f5c4a64be9b21e28867e7ec8670788c725a..d5fa5495ec980a1dd6c96dd36cb7f9a80573093f 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    185,
 /**/
     184,
 /**/