summaryrefslogtreecommitdiff
path: root/test/ruby/test_marshal.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-15 00:47:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-15 00:47:46 +0000
commit4511af873a4d53b223569664b9acc4b9a9e94706 (patch)
treeecef1176aaa9a34f81297b1f27d763eda6866210 /test/ruby/test_marshal.rb
parentf5074060307bd27c8d0c7efa1b431db9a5f44a3c (diff)
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
Diffstat (limited to 'test/ruby/test_marshal.rb')
-rw-r--r--test/ruby/test_marshal.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index 49a8511e8e..3d7ce7d9e4 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -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