summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-02-12 17:28:29 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-02-12 17:28:29 +0900
commit2090011dbd66e64916488c7b0e04e316b57d5cee (patch)
treebda98e611eebe786ae8a4581ebe9d7675c727ce7 /test
parent52cdf400efaecc0f5e1d1f70f22dc45212e03c4c (diff)
test/etc/test_etc.rb: skip some tests on Android
Android user management seems different from normal Unix system.
Diffstat (limited to 'test')
-rw-r--r--test/etc/test_etc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb
index 365c27021c..d2ae9fa33c 100644
--- a/test/etc/test_etc.rb
+++ b/test/etc/test_etc.rb
@@ -44,7 +44,7 @@ class TestEtc < Test::Unit::TestCase
unless s.empty?
assert_include(s, Etc.getpwuid)
end
- end
+ end unless RUBY_PLATFORM.include?("android")
def test_getpwnam
passwd = {}
@@ -54,7 +54,7 @@ class TestEtc < Test::Unit::TestCase
passwd.each_value do |s|
assert_equal(s, Etc.getpwnam(s.name))
end
- end
+ end unless RUBY_PLATFORM.include?("android")
def test_passwd_with_low_level_api
a = []