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 | 64221159aa3e9aa183d6083b04cca50de8009f93 (patch) | |
tree | f29d7e6baa61cdf082b9cc0d03965379708256b4 /test | |
parent | 3e3953cd66b2204c12b779b73192d7f025019cb5 (diff) | |
download | ruby-64221159aa3e9aa183d6083b04cca50de8009f93.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@13444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_io.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 2ccc0aaa8d..e1859ad4f0 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -36,7 +36,8 @@ class TestIO < Test::Unit::TestCase r.close end - def test_ungetc + # This test cause SEGV. + def _test_ungetc r, w = IO.pipe w.close assert_raise(IOError, "[ruby-dev:31650]") { 20000.times { r.ungetc "a" } } |