]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.0.1694: terminal API test is a bit flaky v8.0.1694
authorBram Moolenaar <Bram@vim.org>
Tue, 10 Apr 2018 19:43:26 +0000 (21:43 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 10 Apr 2018 19:43:26 +0000 (21:43 +0200)
Problem:    Terminal API test is a bit flaky.
Solution:   Wait longer for Vim to stop.

src/testdir/screendump.vim
src/version.c

index 764345a98c7290cd4f36fc3bc041a9be59d1a047..e1e660b373c1ffd1c768ccebf7a74d1bbe1e1409 100644 (file)
@@ -70,7 +70,7 @@ endfunc
 func StopVimInTerminal(buf)
   call assert_equal("running", term_getstatus(a:buf))
   call term_sendkeys(a:buf, "\<Esc>\<Esc>:qa!\<cr>")
-  call WaitFor('term_getstatus(' . a:buf . ') == "finished"')
+  call WaitFor('term_getstatus(' . a:buf . ') == "finished"', 3000)
   only!
 endfunc
 
index 80b05fa0f031dafc9a73dc27a469ec7b420166c8..46d12cc8cf5594f4ab16e1761ffc5766af6d8dfd 100644 (file)
@@ -762,6 +762,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1694,
 /**/
     1693,
 /**/