Skip to content

Commit

Permalink
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists
Browse files Browse the repository at this point in the history
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 1580f75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/testdir/test_terminal.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
29,
/**/
28,
/**/
Expand Down

0 comments on commit 1580f75

Please sign in to comment.