From 0f6629a08a9ae482956f5e70452ae78be569eadf Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 22 Sep 2019 23:24:13 +0200 Subject: patch 8.1.2069: test for SafeStateAgain may still fail Problem: Test for SafeStateAgain may still fail. Solution: Send another message to trigger SafeStateAgain. --- src/testdir/test_autocmd.vim | 4 +++- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index 1f901a9ffa..f2c9af50f8 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -2250,7 +2250,9 @@ func Test_autocmd_SafeState() call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000) call term_sendkeys(buf, ":let g:again = ''\:call CallTimer()\") - call term_wait(buf, 50) + call term_wait(buf) + call term_sendkeys(buf, ":\") + call term_wait(buf) call term_sendkeys(buf, ":echo g:again\") call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000) diff --git a/src/version.c b/src/version.c index 678bc13d40..bfe483e28a 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2069, /**/ 2068, /**/ -- cgit v1.2.3