From 65214053f6a4bdb1099404a4b5dccb85ca3e5c7c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 4 Dec 2022 23:30:19 +0000 Subject: patch 9.0.1006: suspend test still sometimes fails on MacOS Problem: Suspend test still sometimes fails on MacOS. Solution: Wait a little while for terminal responses. --- src/testdir/test_suspend.vim | 8 ++++++++ src/version.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim index ebefdd00d..c96a1a6a8 100644 --- a/src/testdir/test_suspend.vim +++ b/src/testdir/test_suspend.vim @@ -23,6 +23,10 @@ func Test_suspend() CheckExecutable /bin/sh call WaitForResponses() + if has('mac') + " Mac OS machines tend to be slow, wait a bit longer + sleep 150m + endif " in case a previous failure left a swap file behind call delete('.Xfoo.swp') @@ -73,6 +77,10 @@ func Test_suspend_autocmd() CheckExecutable /bin/sh call WaitForResponses() + if has('mac') + " Mac OS machines tend to be slow, wait a bit longer + sleep 150m + endif " in case a previous failure left a swap file behind call delete('.Xfoo.swp') diff --git a/src/version.c b/src/version.c index 33a7bf8e8..9f400f232 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1006, /**/ 1005, /**/ -- cgit v1.2.1