summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 15:33:23 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 15:33:23 +0000
commit9e9543acb5e739b4f584e6a681f22bb7b59e27df (patch)
tree7e7cc4083eb38f356cea2715553d3652c2a040ab /test/ruby
parentd734c9dea245305b31a3097387949bcf56351f71 (diff)
* test/ruby/test_signal.rb (TestSignal#test_signal_process_group):
skip if the platform doesn't have :pgroup capability. (i.e. skip if mswin32) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_signal.rb2
1 files changed, 2 insertions, 0 deletions
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)