diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/ruby/test_signal.rb | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Mon May 16 00:32:05 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * test/ruby/test_signal.rb (TestSignal#test_signal_process_group): + skip if the platform doesn't have :pgroup capability. (i.e. skip + if mswin32) + Sun May 15 23:53:31 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * include/ruby/intern.h: resurrect old rb_fd_copy(). diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb index 2b2d88b06f..26e17b3b64 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -38,6 +38,8 @@ class TestSignal < Test::Unit::TestCase def test_signal_process_group return unless Process.respond_to?(:kill) + return unless Process.respond_to?(:pgroup) # for mswin32 + bug4362 = '[ruby-dev:43169]' assert_nothing_raised(bug4362) do pid = Process.spawn(EnvUtil.rubybin, '-e', '"sleep 10"', :pgroup => true) |