diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-29 05:36:02 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-29 05:36:02 +0000 |
commit | 80cb3c3ebd8a074f45a49ad7268a1f841417ce96 (patch) | |
tree | 657bc8917179dcabb6d609c7ef3f2ac488130741 /test | |
parent | cdf3ba0df66a0c23e3a94d860a042678fc70d76e (diff) |
merges r27992 from trunk into ruby_1_9_2.
--
add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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)>"], |