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.
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index 4cd7757..41a0a45 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -580,6 +580,10 @@
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
diff --git a/src/version.c b/src/version.c
index 4d9696b..70fd603 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 29,
+/**/
28,
/**/
27,