mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 18:43:59 +02:00
* 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
This commit is contained in:
parent
2470d7811f
commit
bb32987206
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue