1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2007-09-14 08:31:24 +00:00
parent 3e3953cd66
commit 64221159aa
3 changed files with 22 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Fri Sep 14 17:28:32 2007 Koichi Sasada <ko1@atdot.net>
* test/ruby/test_io.rb: tests which cause SEGV should not be
added.
* bootstraptest/test_knownbug.rb: add above test to known bug.
Fri Sep 14 16:24:04 2007 Koichi Sasada <ko1@atdot.net>
* insnhelper.ci (vm_expandarray): assignment should be placed

View file

@ -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'

View file

@ -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" } }