summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-21 09:04:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-21 09:04:48 +0000
commita238423873f938b68337ac360656688a877fb081 (patch)
treed527dc8c2d8cb7d547732edb38ab7fe53d2adde6 /test/ruby/test_process.rb
parent19a189947035c6e6f4785f27032392fa10a017d0 (diff)
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
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb1
1 files changed, 1 insertions, 0 deletions
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