mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/etc/test_etc.rb: skip some tests on Android
Android user management seems different from normal Unix system.
This commit is contained in:
parent
52cdf400ef
commit
2090011dbd
1 changed files with 2 additions and 2 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue