forked from aniani/vim
patch 8.0.1453: terminal test fails on some slow terminals
Problem: Terminal test fails on some slow terminals. Solution: Increase timeout to 10 seconds.
This commit is contained in:
@@ -522,7 +522,7 @@ func Test_terminal_noblock()
|
|||||||
" On MS-Windows there is an extra empty line below "done". Find "done" in
|
" On MS-Windows there is an extra empty line below "done". Find "done" in
|
||||||
" the last-but-one or the last-but-two line.
|
" the last-but-one or the last-but-two line.
|
||||||
let lnum = term_getsize(buf)[0] - 1
|
let lnum = term_getsize(buf)[0] - 1
|
||||||
call WaitFor({-> term_getline(buf, lnum) =~ "done" || term_getline(buf, lnum - 1) =~ "done"}, 3000)
|
call WaitFor({-> term_getline(buf, lnum) =~ "done" || term_getline(buf, lnum - 1) =~ "done"}, 10000)
|
||||||
let line = term_getline(buf, lnum)
|
let line = term_getline(buf, lnum)
|
||||||
if line !~ 'done'
|
if line !~ 'done'
|
||||||
let line = term_getline(buf, lnum - 1)
|
let line = term_getline(buf, lnum - 1)
|
||||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1453,
|
||||||
/**/
|
/**/
|
||||||
1452,
|
1452,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user