Skip to content

Commit 1580f75

Browse files
committed
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.
1 parent 1149382 commit 1580f75

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/testdir/test_terminal.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,10 @@ func Test_terminal_write_stdin()
580580
if !executable('wc')
581581
throw 'skipped: wc command not available'
582582
endif
583+
if has('win32')
584+
" TODO: enable once writing to stdin works on MS-Windows
585+
return
586+
endif
583587
new
584588
call setline(1, ['one', 'two', 'three'])
585589
%term wc

src/version.c

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

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
29,
764766
/**/
765767
28,
766768
/**/

0 commit comments

Comments
 (0)