summaryrefslogtreecommitdiff
path: root/spec/ruby/core
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-02-13 23:06:33 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-02-13 23:06:33 +0900
commitc6ebbbd38b997f8a8d6968e683e29db1e299b5aa (patch)
tree3cd61ac6bdaf485f2e5b040c28e221e1fca3c7d6 /spec/ruby/core
parentca53ab581b414ba86cfb5a6d51ca9a372c4ffcf8 (diff)
spec/ruby: skip the specs that use /etc/passwd on Android
There is no /etc/passwd on Android
Diffstat (limited to 'spec/ruby/core')
-rw-r--r--spec/ruby/core/file/stat/owned_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/stat/owned_spec.rb b/spec/ruby/core/file/stat/owned_spec.rb
index 6f0c250f88..fbd473c4d7 100644
--- a/spec/ruby/core/file/stat/owned_spec.rb
+++ b/spec/ruby/core/file/stat/owned_spec.rb
@@ -21,7 +21,7 @@ describe "File::Stat#owned?" do
st.owned?.should == true
end
- platform_is_not :windows do
+ platform_is_not :windows, :android do
as_user do
it "returns false if the file is not owned by the user" do
system_file = '/etc/passwd'