mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
314bef7ef1
vm_invoke_block() to specify block ptr. [ruby-talk:266422] * cont.c, eval_jump.ci, insns.def, proc.c, signal.c, thread.c: apply above change. * bootstraptest/test_knownbug.rb: move fixed bug. * bootstraptest/test_block.rb: ditto. and add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
295 B
Ruby
19 lines
295 B
Ruby
#
|
|
# This test file concludes tests which point out known bugs.
|
|
# So all tests will cause failure.
|
|
#
|
|
|
|
assert_equal '0', %q{
|
|
GC.stress = true
|
|
pid = fork {}
|
|
Process.wait pid
|
|
$?.to_i
|
|
}, '[ruby-dev:32404]'
|
|
|
|
assert_equal 'ok', %q{
|
|
1.times{
|
|
eval("break")
|
|
}
|
|
:ok
|
|
}, '[ruby-dev:32525]'
|
|
|