Skip to content

Commit fad609d

Browse files
committed
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.
1 parent 2b7bc56 commit fad609d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/testdir/test_system.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ function! Test_System()
4848
endfunction
4949

5050
function! Test_system_exmode()
51+
if !has('unix')
52+
return
53+
endif
54+
5155
let cmd=" -es -u NONE -c 'source Xscript' +q; echo $?"
5256
" Need to put this in a script, "catch" isn't found after an unknown
5357
" function.

src/version.c

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

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
185,
767769
/**/
768770
184,
769771
/**/

0 commit comments

Comments
 (0)