diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-24 13:50:05 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-24 13:50:05 +0000 |
commit | 3cea675fbef109f22edfbf4113d406579b68cffa (patch) | |
tree | 412244c84acea6ecbe96c6dccb9a52b3e2d06c02 /test/ruby/test_process.rb | |
parent | bf36feb76d81001a8ef3c9b3696b01db0774678b (diff) | |
download | ruby-3cea675fbef109f22edfbf4113d406579b68cffa.tar.gz |
add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r-- | test/ruby/test_process.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 4d88be5843..e9d89585d7 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1065,6 +1065,7 @@ class TestProcess < Test::Unit::TestCase Thread.new { sleep 1; Process.kill(:SIGQUIT, pid) } Process.wait(pid) s = $? + assert_equal(true, s.signaled?, "status.signaled?") assert_send( [["#<Process::Status: pid #{ s.pid } SIGQUIT (signal #{ s.termsig })>", "#<Process::Status: pid #{ s.pid } SIGQUIT (signal #{ s.termsig }) (core dumped)>"], |