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:
parent
f507406030
commit
4511af873a
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue