Issue #7133 has been reported by jonforums (Jon Forums).

----------------------------------------
Bug #7133: [mingw] bogus TestProcess#test_execopts_gid test failure
https://bugs.ruby-lang.org/issues/7133

Author: jonforums (Jon Forums)
Status: Open
Priority: Normal
Assignee: 
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-10-09 trunk 37127) [i386-mingw32]


On mingw windows builds, HAVE_GETGROUPS is not defined so `Process.groups` is not implemented

  https://github.com/ruby/ruby/blob/trunk/process.c#L5389

Attached patch skips the test on windows and changes the output from

[15/74] TestProcess#test_execopts_gid = 0.00 s
  2) Error:
test_execopts_gid(TestProcess):
NotImplementedError: groups() function is unimplemented on this machine
    c:/Jenkins/workspace/ruby-trunk-svn/test/ruby/test_process.rb:1506:in `groups'
    c:/Jenkins/workspace/ruby-trunk-svn/test/ruby/test_process.rb:1506:in `test_execopts_gid'

to

[15/74] TestProcess#test_execopts_gid = 0.00 s
  2) Skipped:
test_execopts_gid(TestProcess) [c:/Jenkins/workspace/ruby-trunk-svn/test/ruby/test_process.rb:1504]:
Process.groups not implemented on Windows platform

thereby enabling test-all to finish with 0 errors.




-- 
http://bugs.ruby-lang.org/