diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-15 00:47:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-15 00:47:46 +0000 |
commit | f7750e39239b7effd3d080ad614ec92d8b3ef7dc (patch) | |
tree | ecef1176aaa9a34f81297b1f27d763eda6866210 | |
parent | cdc8d23ad6ff483241c1931e1fda14ada308d3c7 (diff) | |
download | ruby-f7750e39239b7effd3d080ad614ec92d8b3ef7dc.tar.gz |
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
-rw-r--r-- | test/ruby/test_marshal.rb | 6 |
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 |