patch 7.4.2178
Problem:    No test for reading from stdin.
Solution:   Add a test.
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim
index 384dcbe..652318f 100644
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -169,3 +169,15 @@
   endif
   call delete('Xtestout')
 endfunc
+
+func Test_read_stdin()
+  let after = [
+	\ 'write Xtestout',
+	\ 'quit!',
+	\ ]
+  if RunVimPiped([], after, '-', 'echo something | ')
+    let lines = readfile('Xtestout')
+    call assert_equal('something', lines[0])
+  endif
+  call delete('Xtestout')
+endfunc