summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-10 16:54:02 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-10 16:54:02 +0000
commitbd90dc80f29a09376e04f5f1b6adbe17806a67fa (patch)
treee36f81d7e680bfdc0879d24a8c3033556293c92b /test
parent2ff3ec5dbea979cc5d37abc8fc8c98c8edc14fd8 (diff)
* process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroups
and Process#maxgroups= now raise NotImplementedError if the platform don't support supplementary groups concept. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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 f3f3f9eb80..39c8b18966 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1158,6 +1158,7 @@ class TestProcess < Test::Unit::TestCase
def test_maxgroups
assert_kind_of(Integer, Process.maxgroups)
+ rescue NotImplementedError
end
def test_geteuid