ruby-changes:11650
From: nobu <ko1@a...>
Date: Sun, 26 Apr 2009 18:44:44 +0900 (JST)
Subject: [ruby-changes:11650] Ruby:r23288 (trunk): * bootstraptest/test_io.rb: test for .
nobu 2009-04-26 18:44:35 +0900 (Sun, 26 Apr 2009) New Revision: 23288 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23288 Log: * bootstraptest/test_io.rb: test for [ruby-dev:38131]. Modified files: trunk/bootstraptest/test_io.rb Index: bootstraptest/test_io.rb =================================================================== --- bootstraptest/test_io.rb (revision 23287) +++ bootstraptest/test_io.rb (revision 23288) @@ -92,3 +92,9 @@ r1.close; w1.close }, '', ["INT"] or break end + +assert_normal_exit %q{ + r, w = IO.pipe + STDOUT.reopen(w) + STDOUT.reopen(__FILE__, "r") +}, '[ruby-dev:38131]' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/