Permalink
Browse files

patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists

Problem:    Terminal test fails on MS-Windows when "wc" exists.
Solution:   Skip test with redirection on MS-Windows.
  • Loading branch information...
brammool committed Jun 3, 2018
1 parent 1149382 commit 1580f755c91d12a3e63d60eec8733f8b79debc31
Showing with 6 additions and 0 deletions.
  1. +4 −0 src/testdir/test_terminal.vim
  2. +2 −0 src/version.c
@@ -580,6 +580,10 @@ func Test_terminal_write_stdin()
if !executable('wc')
throw 'skipped: wc command not available'
endif
if has('win32')
" TODO: enable once writing to stdin works on MS-Windows
return
endif
new
call setline(1, ['one', 'two', 'three'])
%term wc
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
29,
/**/
28,
/**/

0 comments on commit 1580f75

Please sign in to comment.