0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

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.
This commit is contained in:
Bram Moolenaar 2018-06-03 15:26:36 +02:00
parent 1149382d21
commit 1580f755c9
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
29,
/**/
28,
/**/