diff options
author | Yusuke Endoh <[email protected]> | 2020-02-13 23:06:33 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2020-02-13 23:06:33 +0900 |
commit | c6ebbbd38b997f8a8d6968e683e29db1e299b5aa (patch) | |
tree | 3cd61ac6bdaf485f2e5b040c28e221e1fca3c7d6 /spec/ruby/shared/file/executable.rb | |
parent | ca53ab581b414ba86cfb5a6d51ca9a372c4ffcf8 (diff) |
spec/ruby: skip the specs that use /etc/passwd on Android
There is no /etc/passwd on Android
Diffstat (limited to 'spec/ruby/shared/file/executable.rb')
-rw-r--r-- | spec/ruby/shared/file/executable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/file/executable.rb b/spec/ruby/shared/file/executable.rb index 2987d0aabb..7b5c4c580c 100644 --- a/spec/ruby/shared/file/executable.rb +++ b/spec/ruby/shared/file/executable.rb @@ -13,7 +13,7 @@ describe :file_executable, shared: true do rm_r @file1, @file2 end - platform_is_not :windows do + platform_is_not :windows, :android do it "returns true if named file is executable by the effective user id of the process, otherwise false" do @object.send(@method, '/etc/passwd').should == false @object.send(@method, @file1).should == true |