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/testdir/test_normal.vim b/src/testdir/test_normal.vim
index 9817785..3af79f8 100644
--- a/src/testdir/test_normal.vim
+++ b/src/testdir/test_normal.vim
@@ -2193,6 +2193,8 @@
if !has("autocmd")
return
endif
+ " Don't sleep after the warning message.
+ call test_settime(1)
call writefile(['foo'], 'Xreadonly.log')
new Xreadonly.log
setl ro
@@ -2202,6 +2204,7 @@
call assert_equal('Xreadonly.log', bufname(''))
" cleanup
+ call test_settime(0)
bw!
call delete("Xreadonly.log")
endfunc