diff options
| -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 |
