summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-14 08:31:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-14 08:31:24 +0000
commit0ce1fd167fe350b1effca0ba548cd16cafa1beba (patch)
treef29d7e6baa61cdf082b9cc0d03965379708256b4 /test/ruby/test_io.rb
parent3a031bf6d201983328d52da421897cd3c3161576 (diff)
downloadruby-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 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 2ccc0aaa8..e1859ad4f 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" } }