summaryrefslogtreecommitdiff
path: root/test/ruby/test_exception.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-30 02:45:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-30 02:45:40 +0000
commit044ef87328be54e673b52a2e009d110520fadaa9 (patch)
tree0da697a5ca60874d07f5d7a1ccc354ed880bd569 /test/ruby/test_exception.rb
parent8908381c74577468536089c6b8feabee27b81ab9 (diff)
test_exception.rb: ignore SystemStackError
* test/ruby/test_exception.rb (test_machine_stackoverflow_by_define_method): ignore propagated SystemStackError, as well as test_machine_stackoverflow, which has not bee rescued in the child process by unknown reason. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r--test/ruby/test_exception.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index 32f97fa1aa..9250038264 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -496,6 +496,7 @@ end.join
self.foo
}
SRC
+ rescue SystemStackError
end
def test_cause