patch 8.1.0969: message written during startup is truncated

Problem:    Message written during startup is truncated.
Solution:   Restore message after truncating. (closes 3969)
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim
index 16b202f..b7dd7ea 100644
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -537,3 +537,13 @@
   endif
   call delete('Xtestout')
 endfunc
+
+func Test_issue_3969()
+  if has('gui_running')
+    " Can't catch the output of gvim.
+    return
+  endif
+  " Check that message is not truncated.
+  let out = system(GetVimCommand() . ' -es -X -V1 -c "echon ''hello''" -cq')
+  call assert_equal('hello', out)
+endfunc