mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Dec 8 13:11:26 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silently
|
||||||
|
skip if not implemented such functions (such as, on Windows).
|
||||||
|
|
||||||
Thu Dec 8 12:57:50 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
Thu Dec 8 12:57:50 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for
|
* ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for
|
||||||
|
|
|
@ -1167,6 +1167,7 @@ class TestProcess < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_seteuid
|
def test_seteuid
|
||||||
assert_nothing_raised(TypeError) {Process.euid += 0}
|
assert_nothing_raised(TypeError) {Process.euid += 0}
|
||||||
|
rescue NotImplementedError
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_getegid
|
def test_getegid
|
||||||
|
@ -1175,6 +1176,7 @@ class TestProcess < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_setegid
|
def test_setegid
|
||||||
assert_nothing_raised(TypeError) {Process.egid += 0}
|
assert_nothing_raised(TypeError) {Process.egid += 0}
|
||||||
|
rescue NotImplementedError
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_uid_re_exchangeable_p
|
def test_uid_re_exchangeable_p
|
||||||
|
|
Loading…
Reference in a new issue