summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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 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" } }