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

test_marshal.rb: use assert_ruby_status

* test/ruby/test_marshal.rb (test_marshal_load_extended_class_crash):
  use assert_ruby_status to deal with signals, core dump and
  diagnostic reports.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-03-15 00:47:46 +00:00
parent f507406030
commit 4511af873a

View file

@ -723,10 +723,6 @@ class TestMarshal < Test::Unit::TestCase
crash = "\x04\be:\x0F\x00omparableo:\vObject\x00"
opt = %w[--disable=gems]
args = [opt, "Marshal.load(#{crash.dump})", true, true]
out, err, status = EnvUtil.invoke_ruby(*args)
assert_empty err
assert_predicate(status, :success?)
assert_ruby_status(opt, "Marshal.load(#{crash.dump})")
end
end