]> granicus.if.org Git - vim/commitdiff
patch 8.0.0857: terminal test fails on MS-Windows v8.0.0857
authorBram Moolenaar <Bram@vim.org>
Thu, 3 Aug 2017 19:08:05 +0000 (21:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 3 Aug 2017 19:08:05 +0000 (21:08 +0200)
Problem:    Terminal test fails on MS-Windows.
Solution:   Sleep a fraction of a second.

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

index 987b1ee13b0b5ed68e7758a6a5729aa1a59c40e2..3f5e268b5b48f54e4bc13cc77dc58e15f3f10d77 100644 (file)
@@ -152,6 +152,10 @@ func Test_terminal_scrape()
   call term_wait(1234)
 
   call term_wait(buf)
+  if has('win32')
+    " TODO: this should not be needed
+    sleep 100m
+  endif
   call Check_123(buf)
 
   " Must still work after the job ended.
index b8d020327522ce48f73498944a272f9fb8dd56f1..1c01f4f041a934dcd441b643d7946bb9d868ed8a 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    857,
 /**/
     856,
 /**/