Skip to content

Commit 7a07354

Browse files
committed
patch 8.0.0295: test_viml hangs
Problem: test_viml hangs. Solution: Put resetting 'more' before sourcing the script.
1 parent 79da563 commit 7a07354

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/testdir/runtest.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ else
5757
set encoding=latin1
5858
endif
5959

60+
" Avoid stopping at the "hit enter" prompt
61+
set nomore
62+
6063
" Output all messages in English.
6164
lang mess C
6265

@@ -168,7 +171,6 @@ let s:flaky = [
168171
\ ]
169172

170173
" Locate Test_ functions and execute them.
171-
set nomore
172174
redir @q
173175
silent function /^Test_
174176
redir END

src/version.c

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

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
295,
767769
/**/
768770
294,
769771
/**/

0 commit comments

Comments
 (0)