patch 8.0.0293: some tests have a one or three second wait
Problem: Some tests have a one or three second wait.
Solution: Reset the 'showmode' option. Use a test time of one to disable
sleep after an error or warning message.
diff --git a/src/misc1.c b/src/misc1.c
index f95c3fe..2a2d9cf 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3264,7 +3264,11 @@
#endif
msg_clr_eos();
(void)msg_end();
- if (msg_silent == 0 && !silent_mode)
+ if (msg_silent == 0 && !silent_mode
+#ifdef FEAT_EVAL
+ && time_for_testing != 1
+#endif
+ )
{
out_flush();
ui_delay(1000L, TRUE); /* give the user time to think about it */