From 4511af873a4d53b223569664b9acc4b9a9e94706 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 15 Mar 2016 00:47:46 +0000 Subject: 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 --- test/ruby/test_marshal.rb | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3