1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_process.rb (TestProcess#test_execopts_gid): skip on

windows because the platform does not have Process.group method.
  patched by Jon Forums in [ruby-core:47878] [Bug #7133].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2012-10-10 06:14:48 +00:00
parent 428ec4ec05
commit 7eb1fee9a6
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Wed Oct 10 15:12:48 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_process.rb (TestProcess#test_execopts_gid): skip on
windows because the platform does not have Process.group method.
patched by Jon Forums in [ruby-core:47878] [Bug #7133].
Tue Oct 9 23:18:03 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/ruby/envutil.rb (assert_file, assert_file_not): more

View file

@ -1501,6 +1501,7 @@ class TestProcess < Test::Unit::TestCase
end
def test_execopts_gid
skip "Process.groups not implemented on Windows platform" if windows?
feature6975 = '[ruby-core:47414]'
[30000, *Process.groups.map {|g| g = Etc.getgrgid(g); [g.name, g.gid]}].each do |group, gid|