* 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:
parent
3e3953cd66
commit
64221159aa
@ -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>
|
Fri Sep 14 16:24:04 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* insnhelper.ci (vm_expandarray): assignment should be placed
|
* insnhelper.ci (vm_expandarray): assignment should be placed
|
||||||
|
@ -2,3 +2,16 @@
|
|||||||
# This test file concludes tests which point out known bugs.
|
# This test file concludes tests which point out known bugs.
|
||||||
# So all tests will cause failure.
|
# 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'
|
||||||
|
@ -36,7 +36,8 @@ class TestIO < Test::Unit::TestCase
|
|||||||
r.close
|
r.close
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_ungetc
|
# This test cause SEGV.
|
||||||
|
def _test_ungetc
|
||||||
r, w = IO.pipe
|
r, w = IO.pipe
|
||||||
w.close
|
w.close
|
||||||
assert_raise(IOError, "[ruby-dev:31650]") { 20000.times { r.ungetc "a" } }
|
assert_raise(IOError, "[ruby-dev:31650]") { 20000.times { r.ungetc "a" } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user