1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
kosaki 2013-03-19 18:34:13 +00:00
parent 8c52515eaa
commit 62565929b3
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View file

@ -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)
}