зеркало из https://github.com/github/ruby.git
test_signal.rb: extra quotes
* test/ruby/test_signal.rb (TestSignal#test_signal_process_group): remove extra quotes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
541bdd29ba
Коммит
063d4e4141
|
@ -43,7 +43,7 @@ class TestSignal < Test::Unit::TestCase
|
||||||
|
|
||||||
bug4362 = '[ruby-dev:43169]'
|
bug4362 = '[ruby-dev:43169]'
|
||||||
assert_nothing_raised(bug4362) do
|
assert_nothing_raised(bug4362) do
|
||||||
pid = Process.spawn(EnvUtil.rubybin, '-e', '"sleep 10"', :pgroup => true)
|
pid = Process.spawn(EnvUtil.rubybin, '-e', 'sleep 10', :pgroup => true)
|
||||||
Process.kill(:"-TERM", pid)
|
Process.kill(:"-TERM", pid)
|
||||||
Process.waitpid(pid)
|
Process.waitpid(pid)
|
||||||
assert_equal(true, $?.signaled?)
|
assert_equal(true, $?.signaled?)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче