add --disable-gem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3134c2d5a1
commit
e5acaa0313
@ -534,7 +534,7 @@ end.join
|
|||||||
|
|
||||||
def test_machine_stackoverflow
|
def test_machine_stackoverflow
|
||||||
bug9109 = '[ruby-dev:47804] [Bug #9109]'
|
bug9109 = '[ruby-dev:47804] [Bug #9109]'
|
||||||
assert_separately([], <<-SRC)
|
assert_separately(%w[--disable-gem], <<-SRC)
|
||||||
assert_raise(SystemStackError, #{bug9109.dump}) {
|
assert_raise(SystemStackError, #{bug9109.dump}) {
|
||||||
h = {a: ->{h[:a].call}}
|
h = {a: ->{h[:a].call}}
|
||||||
h[:a].call
|
h[:a].call
|
||||||
@ -545,7 +545,7 @@ end.join
|
|||||||
|
|
||||||
def test_machine_stackoverflow_by_define_method
|
def test_machine_stackoverflow_by_define_method
|
||||||
bug9454 = '[ruby-core:60113] [Bug #9454]'
|
bug9454 = '[ruby-core:60113] [Bug #9454]'
|
||||||
assert_separately([], <<-SRC)
|
assert_separately(%w[--disable-gem], <<-SRC)
|
||||||
assert_raise(SystemStackError, #{bug9454.dump}) {
|
assert_raise(SystemStackError, #{bug9454.dump}) {
|
||||||
define_method(:foo) {self.foo}
|
define_method(:foo) {self.foo}
|
||||||
self.foo
|
self.foo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user