diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-14 08:31:24 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-14 08:31:24 +0000 |
| commit | 0ce1fd167fe350b1effca0ba548cd16cafa1beba (patch) | |
| tree | f29d7e6baa61cdf082b9cc0d03965379708256b4 /bootstraptest | |
| parent | 3a031bf6d201983328d52da421897cd3c3161576 (diff) | |
| download | ruby-0ce1fd167fe350b1effca0ba548cd16cafa1beba.tar.gz ruby-0ce1fd167fe350b1effca0ba548cd16cafa1beba.tar.xz ruby-0ce1fd167fe350b1effca0ba548cd16cafa1beba.zip | |
* test/ruby/test_io.rb: tests which cause SEGV should not be
added.
* bootstraptest/test_knownbug.rb: add above test to known bug.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
| -rw-r--r-- | bootstraptest/test_knownbug.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 39dc6a9b8..b189f8beb 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -2,3 +2,16 @@ # This test file concludes tests which point out known bugs. # So all tests will cause failure. # + +assert_equal 'ok', %q{ +begin + r, w = IO.pipe + w.close + # assert_raise(IOError, "[ruby-dev:31650]") { 20000.times { r.ungetc "a" } } + 20000.times { r.ungetc "a" } +rescue IOError + :ok +ensure + r.close +end +}, 'rename test/ruby/test_io.rb#_test_ungetc if fixed' |
