[前][次][番号順一覧][スレッド一覧]

ruby-changes:27777

From: kosaki <ko1@a...>
Date: Wed, 20 Mar 2013 03:34:24 +0900 (JST)
Subject: [ruby-changes:27777] kosaki:r39829 (trunk): * test/ruby/test_signal.rb (test_hup_me): added a few comments.

kosaki	2013-03-20 03:34:13 +0900 (Wed, 20 Mar 2013)

  New Revision: 39829

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39829

  Log:
    * test/ruby/test_signal.rb (test_hup_me): added a few comments.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_signal.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39828)
+++ ChangeLog	(revision 39829)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Mar 16 03:40:49 2013  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* test/ruby/test_signal.rb (test_hup_me): added a few comments.
+
 Sat Mar 16 03:39:38 2013  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* thread.c (ruby_kill): added a few comments.
Index: test/ruby/test_signal.rb
===================================================================
--- test/ruby/test_signal.rb	(revision 39828)
+++ test/ruby/test_signal.rb	(revision 39829)
@@ -276,6 +276,10 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_signal.rb#L276
 
   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)
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]