aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-08 04:12:55 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-08 04:12:55 +0000
commitbb3298720646891f5853bf676b3fb83ae5e99449 (patch)
treeb3b42eeca2de51a0744aad8d380160ce3774572e /test
parent2470d7811fcd2d19e0075e171b2ffc106ddd9d91 (diff)
downloadruby-bb3298720646891f5853bf676b3fb83ae5e99449.tar.gz
* test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silently
skip if not implemented such functions (such as, on Windows). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 29f7ec8f1d..a1c5822417 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1167,6 +1167,7 @@ class TestProcess < Test::Unit::TestCase
def test_seteuid
assert_nothing_raised(TypeError) {Process.euid += 0}
+ rescue NotImplementedError
end
def test_getegid
@@ -1175,6 +1176,7 @@ class TestProcess < Test::Unit::TestCase
def test_setegid
assert_nothing_raised(TypeError) {Process.egid += 0}
+ rescue NotImplementedError
end
def test_uid_re_exchangeable_p