diff options
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)>"], |