diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-11 15:06:02 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-11 15:06:02 +0000 |
| commit | c117996bc5aa666bb455cea6d1ea78080cdaba92 (patch) | |
| tree | f5d9f5b2479afdf95e86520b29649e67c16d72be | |
| parent | bb873370fd672abd3f9ced79b90d3b800f46c608 (diff) | |
| download | ruby-c117996bc5aa666bb455cea6d1ea78080cdaba92.tar.gz ruby-c117996bc5aa666bb455cea6d1ea78080cdaba92.tar.xz ruby-c117996bc5aa666bb455cea6d1ea78080cdaba92.zip | |
merges r23288 from trunk into ruby_1_9_1.
--
* bootstraptest/test_io.rb: test for [ruby-dev:38131].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | bootstraptest/test_io.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb index 75570cd2c..83b38f8cc 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]' |
