patch 8.0.0995: terminal tests fail on Mac

Problem:    Terminal tests fail on Mac.
Solution:   Add workaround: sleep a moment in between sending keys.
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index bdc5655..2356f2c 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -456,6 +456,11 @@
 
   for c in ['a','b','c','d','e','f','g','h','i','j','k']
     call term_sendkeys(g:buf, 'echo ' . repeat(c, 5000) . "\<cr>")
+    if has('mac')
+      " TODO: this should not be needed, but without it sending keys blocks
+      " after 8000 chars or so.
+      sleep 100m
+    endif
   endfor
   call term_sendkeys(g:buf, "echo done\<cr>")