From 31449757114fb0ad4356ceee7f67a015f7fbb9e8 Mon Sep 17 00:00:00 2001 From: yugui Date: Mon, 11 May 2009 15:06:02 +0000 Subject: merges r23288 from trunk into ruby_1_9_1. -- * bootstraptest/test_io.rb: test for [ruby-dev:38131]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_io.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb index 75570cd2c1..83b38f8cce 100644 --- a/bootstraptest/test_io.rb +++ b/bootstraptest/test_io.rb @@ -92,3 +92,9 @@ assert_normal_exit %q{ 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]' -- cgit v1.2.3