test/ruby/test_process.rb: Skip GID.from_name on Android
The user management on Android seems very different https://rubyci.org/logs/rubyci.s3.amazonaws.com/android28-x86_64/ruby-master/log/20200416T234122Z.fail.html.gz
This commit is contained in:
parent
c23efbaa99
commit
36353b2728
@ -1616,7 +1616,7 @@ class TestProcess < Test::Unit::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
if Process::GID.respond_to?(:from_name)
|
||||
if Process::GID.respond_to?(:from_name) && !RUBY_PLATFORM.include?("android")
|
||||
def test_gid_from_name
|
||||
if g = Etc.getgrgid(Process.gid)
|
||||
assert_equal(Process.gid, Process::GID.from_name(g.name), g.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user