patch 9.0.0514: terminal test sometimes hangs

Problem:    Terminal test sometimes hangs.
Solution:   Add a bit more information to the test output. (issue #11179)
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index 1946282..ebc692b 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -227,6 +227,11 @@
   endif
   au! VimLeavePre
 
+  if a:test =~ '_terminal_'
+    " Terminal tests sometimes hang, give extra information
+    echoconsole 'After executing ' .. a:test
+  endif
+
   " In case 'insertmode' was set and something went wrong, make sure it is
   " reset to avoid trouble with anything else.
   set noinsertmode
@@ -279,6 +284,11 @@
 
   exe 'cd ' . save_cwd
 
+  if a:test =~ '_terminal_'
+    " Terminal tests sometimes hang, give extra information
+    echoconsole 'Finished ' . a:test
+  endif
+
   let message = 'Executed ' . a:test
   if has('reltime')
     let message ..= repeat(' ', 50 - len(message))