]> granicus.if.org Git - vim/commitdiff
patch 8.0.0295: test_viml hangs v8.0.0295
authorBram Moolenaar <Bram@vim.org>
Wed, 1 Feb 2017 22:17:36 +0000 (23:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 1 Feb 2017 22:17:36 +0000 (23:17 +0100)
Problem:    test_viml hangs.
Solution:   Put resetting 'more' before sourcing the script.

src/testdir/runtest.vim
src/version.c

index 43192c450c8826d4ba39a2059d799c71408a19da..33490b61bb0933efbaee1a62a84981c00aa0341a 100644 (file)
@@ -57,6 +57,9 @@ else
   set encoding=latin1
 endif
 
+" Avoid stopping at the "hit enter" prompt
+set nomore
+
 " Output all messages in English.
 lang mess C
 
@@ -168,7 +171,6 @@ let s:flaky = [
       \ ]
 
 " Locate Test_ functions and execute them.
-set nomore
 redir @q
 silent function /^Test_
 redir END
index 4a796bfc2629197a2cec25b23553a290613aea61..4dc4cd81da4b54a091adc5d4785b6d01ff8676a2 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    295,
 /**/
     294,
 /**/