Bug #7133
closed[mingw] bogus TestProcess#test_execopts_gid test failure
Description
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.
Files