mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bf36feb76d
commit
3cea675fbe
1 changed files with 1 additions and 0 deletions
|
@ -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)>"],
|
||||
|
|
Loading…
Reference in a new issue