зеркало из https://github.com/github/ruby.git
test/etc/test_etc.rb: skip some tests on Android
Android user management seems different from normal Unix system.
This commit is contained in:
Родитель
52cdf400ef
Коммит
2090011dbd
|
@ -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 = []
|
||||
|
|
Загрузка…
Ссылка в новой задаче