]> granicus.if.org Git - vim/commitdiff
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists v8.1.0029
authorBram Moolenaar <Bram@vim.org>
Sun, 3 Jun 2018 13:26:36 +0000 (15:26 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 3 Jun 2018 13:26:36 +0000 (15:26 +0200)
Problem:    Terminal test fails on MS-Windows when "wc" exists.
Solution:   Skip test with redirection on MS-Windows.

src/testdir/test_terminal.vim
src/version.c

index 4cd77572eb2e2b2e38dc9675c3ddb7feaf76204e..41a0a450034ac0d1e627cba244444608ae6e35cb 100644 (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
index 4d9696bc588bb7f32fa56e9c7ae341942082abea..70fd603354a06715ac706e2b1b9f3c541b1da21a 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    29,
 /**/
     28,
 /**/