1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

spec/ruby/library/etc/: skip the specs related to group on Android

User/group system on Android seems different from normal Linux.
This commit is contained in:
Yusuke Endoh 2020-02-13 23:11:28 +09:00
parent db8c8c0916
commit 09a042ae04
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ platform_is :windows do
end
end
platform_is_not :windows do
platform_is_not :windows, :android do
describe "Etc.getgrnam" do
it "returns a Etc::Group struct instance for the given group" do
gr_name = Etc.getgrent.name

View file

@ -5,7 +5,7 @@ require 'etc'
describe "Etc.group" do
it_behaves_like :etc_on_windows, :group
platform_is_not :windows do
platform_is_not :windows, :android do
it "returns a Etc::Group struct" do
group = Etc.group
begin