Fix spec which can fail if the pipe is closed before flushing in the subprocess
Fix spec which can fail if the pipe is closed before flushing in the subprocess

git-svn-id: ab86ecd26fe50a6a239cacb71380e346f71cee7d@60567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

ruby/spec,eregon/rubyspec,nobu/rubyspec,ruby/rubyspec,nobu/rubyspec,nobu/rubyspec,ruby/rubyspec,eregon/rubyspec,eregon/rubyspec,ruby/spec,ruby/spec