diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-02-13 23:11:28 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-02-13 23:11:28 +0900 |
commit | 09a042ae0445472d42f35b9fd50c21d6564b0ece (patch) | |
tree | 481e82202cde3e4b4ebeef82aa068b8f8df87afd | |
parent | db8c8c0916c5e0feaad5767ac7cd3fe30b86e964 (diff) | |
download | ruby-09a042ae0445472d42f35b9fd50c21d6564b0ece.tar.gz |
spec/ruby/library/etc/: skip the specs related to group on Android
User/group system on Android seems different from normal Linux.
-rw-r--r-- | spec/ruby/library/etc/getgrnam_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/group_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/etc/getgrnam_spec.rb b/spec/ruby/library/etc/getgrnam_spec.rb index a7c624efbf..fa49f15349 100644 --- a/spec/ruby/library/etc/getgrnam_spec.rb +++ b/spec/ruby/library/etc/getgrnam_spec.rb @@ -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 diff --git a/spec/ruby/library/etc/group_spec.rb b/spec/ruby/library/etc/group_spec.rb index fdd39bda16..fda808eec9 100644 --- a/spec/ruby/library/etc/group_spec.rb +++ b/spec/ruby/library/etc/group_spec.rb @@ -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 |