changeset 10591:234da476c4fd v8.0.0185

patch 8.0.0185: system() test fails on MS-Windows commit https://github.com/vim/vim/commit/fad609d067926d350b4e4ee6ecb55bdbf111a272 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 14 19:38:36 2017 +0100 patch 8.0.0185: system() test fails on MS-Windows Problem: The system() test fails on MS-Windows. Solution: Skip the test on MS-Windows.
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Jan 2017 19:45:03 +0100
parents 3a140c0778e0
children 422e729296c4
files src/testdir/test_system.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_system.vim
+++ b/src/testdir/test_system.vim
@@ -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.
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    185,
+/**/
     184,
 /**/
     183,