aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-04-17 09:20:29 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-04-17 09:22:43 +0900
commit36353b272852acdf951e4870286834a76e80b952 (patch)
treeaea5a7156717e2f706ef961f971ec4cbca03753c /test/ruby/test_process.rb
parentc23efbaa99bf39800c32daf69b2424c9371b1f10 (diff)
downloadruby-36353b272852acdf951e4870286834a76e80b952.tar.gz
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
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index e8367b7201..7bcfa48f4f 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -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)