diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-02-12 17:28:29 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-02-12 17:28:29 +0900 |
commit | 2090011dbd66e64916488c7b0e04e316b57d5cee (patch) | |
tree | bda98e611eebe786ae8a4581ebe9d7675c727ce7 /test/etc/test_etc.rb | |
parent | 52cdf400efaecc0f5e1d1f70f22dc45212e03c4c (diff) | |
download | ruby-2090011dbd66e64916488c7b0e04e316b57d5cee.tar.gz |
test/etc/test_etc.rb: skip some tests on Android
Android user management seems different from normal Unix system.
Diffstat (limited to 'test/etc/test_etc.rb')
-rw-r--r-- | test/etc/test_etc.rb | 4 |
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 = [] |