diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-08 04:12:55 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-08 04:12:55 +0000 |
commit | bb3298720646891f5853bf676b3fb83ae5e99449 (patch) | |
tree | b3b42eeca2de51a0744aad8d380160ce3774572e | |
parent | 2470d7811fcd2d19e0075e171b2ffc106ddd9d91 (diff) | |
download | ruby-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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_process.rb | 2 |
2 files changed, 7 insertions, 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> * ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for 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 |