mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue