From: Bram Moolenaar Date: Mon, 8 Jul 2019 18:58:25 +0000 (+0200) Subject: patch 8.1.1651: suspend test is flaky on some systems X-Git-Tag: v8.1.1651 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=999224422633935eaa8b804ce3d1c2f9ca195d0a;p=vim patch 8.1.1651: suspend test is flaky on some systems Problem: Suspend test is flaky on some systems. Solution: Wait for the shell prompt to show. (Yee Cheng Chin, closes #4632) --- diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim index 8b326f51f..4b3bd5ead 100644 --- a/src/testdir/test_suspend.vim +++ b/src/testdir/test_suspend.vim @@ -54,6 +54,8 @@ func Test_suspend() " Quit gracefully to dump coverage information. call term_sendkeys(buf, ":qall!\") call term_wait(buf) + " Wait until Vim actually exited and shell shows a prompt + call WaitForAssert({-> assert_match('[$#] $', term_getline(buf, '.'))}) call StopShellInTerminal(buf) exe buf . 'bwipe!' diff --git a/src/version.c b/src/version.c index 6ad48828b..cbfee049c 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1651, /**/ 1650, /**/