From a238423873f938b68337ac360656688a877fb081 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 21 Feb 2018 09:04:48 +0000 Subject: [PATCH] test_process.rb: unlimited getgroups on darwin * test/ruby/test_process.rb (TestProcess#test_maxgroups): Darwin extension of getgroups(2) which is not limited to MAXGROUPS is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 0d2bc50b2d..467c5bf163 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1522,6 +1522,7 @@ class TestProcess < Test::Unit::TestCase rescue NotImplementedError else assert_kind_of(Integer, max) + skip "not limited to NGROUPS_MAX" if /darwin/ =~ RUBY_PLATFORM gs = Process.groups assert_operator(gs.size, :<=, max) gs[0] ||= 0