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

ruby-changes:19599

From: usa <ko1@a...>
Date: Thu, 19 May 2011 14:49:45 +0900 (JST)
Subject: [ruby-changes:19599] usa:r31642 (trunk): * test/ruby/test_signal.rb (test_signal_requiring): skip on Windows.

usa	2011-05-19 14:46:57 +0900 (Thu, 19 May 2011)

  New Revision: 31642

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

  Log:
    * test/ruby/test_signal.rb (test_signal_requiring): skip on Windows.
      we can send SIGINT only to pid 0 and the process itself.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31641)
+++ ChangeLog	(revision 31642)
@@ -1,3 +1,8 @@
+Thu May 19 14:44:05 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/ruby/test_signal.rb (test_signal_requiring): skip on Windows.
+	  we can send SIGINT only to pid 0 and the process itself.
+
 Thu May 19 09:07:08 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib: revert r31635-r31638 and untabify with expand(1).
Index: test/ruby/test_signal.rb
===================================================================
--- test/ruby/test_signal.rb	(revision 31641)
+++ test/ruby/test_signal.rb	(revision 31642)
@@ -198,6 +198,7 @@
   end
 
   def test_signal_requiring
+    skip "limitation of GenerateConsoleCtrlEvent()" if /mswin|mignw/ =~ RUBY_PLATFORM
     t = Tempfile.new(%w"require_ensure_test .rb")
     t.puts "sleep"
     t.close

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

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