diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 09:52:52 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 09:52:52 +0000 |
| commit | efeda2a553b0405a0239b3dd0b616a4f2dffd955 (patch) | |
| tree | 075528f8f7f8a44c22889851a6b1c60acdbb8500 /bootstraptest | |
| parent | ffbf1c1348e4755649287b838b02d773b6c4c132 (diff) | |
| download | ruby-efeda2a553b0405a0239b3dd0b616a4f2dffd955.tar.gz ruby-efeda2a553b0405a0239b3dd0b616a4f2dffd955.tar.xz ruby-efeda2a553b0405a0239b3dd0b616a4f2dffd955.zip | |
* io.c (appendline): move RS comparison to rb_io_getline_1().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
| -rw-r--r-- | bootstraptest/test_io.rb | 10 | ||||
| -rw-r--r-- | bootstraptest/test_knownbug.rb | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb index fa3654379..019a82d9b 100644 --- a/bootstraptest/test_io.rb +++ b/bootstraptest/test_io.rb @@ -26,3 +26,13 @@ assert_finish 10, %q{ rescue LoadError end }, '[ruby-dev:32566]' + +assert_finish 1, %q{ + r, w = IO.pipe + Thread.new { + w << "ab" + sleep 0.1 + w << "ab" + } + p r.gets("abab") +} diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 2a70de026..24e3c5483 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -3,16 +3,6 @@ # So all tests will cause failure. # -assert_finish 1, %q{ - r, w = IO.pipe - Thread.new { - w << "ab" - sleep 0.1 - w << "ab" - } - p r.gets("abab") -} - assert_normal_exit %q{ begin raise |
