From 64221159aa3e9aa183d6083b04cca50de8009f93 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 14 Sep 2007 08:31:24 +0000 Subject: * 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 --- test/ruby/test_io.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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" } } -- cgit v1.2.3