зеркало из https://github.com/github/ruby.git
* test/ruby/test_signal.rb (test_hup_me): added a few comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8c52515eaa
Коммит
62565929b3
|
@ -1,3 +1,7 @@
|
|||
Sat Mar 16 03:40:49 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* test/ruby/test_signal.rb (test_hup_me): added a few comments.
|
||||
|
||||
Sat Mar 16 03:39:38 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* thread.c (ruby_kill): added a few comments.
|
||||
|
|
|
@ -276,6 +276,10 @@ EOS
|
|||
|
||||
def test_hup_me
|
||||
# [Bug #7951] [ruby-core:52864]
|
||||
# This is MRI specific spec. ruby has no guarantee
|
||||
# that signal will be deliverd synchronously.
|
||||
# This ugly workaround was introduced to don't break
|
||||
# compatibility against silly example codes.
|
||||
assert_raise(SignalException) {
|
||||
Process.kill('HUP',Process.pid)
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче