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:
parent
db8c8c0916
commit
09a042ae04
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue