diff options
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/core/dir/chroot_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/process/groups_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/process/initgroups_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/dir/chroot_spec.rb b/spec/ruby/core/dir/chroot_spec.rb index 55392410e7..a5ca8943fc 100644 --- a/spec/ruby/core/dir/chroot_spec.rb +++ b/spec/ruby/core/dir/chroot_spec.rb @@ -9,7 +9,7 @@ platform_is_not :windows do end end - platform_is_not :cygwin do + platform_is_not :cygwin, :android do as_user do describe "Dir.chroot as regular user" do before :all do diff --git a/spec/ruby/core/process/groups_spec.rb b/spec/ruby/core/process/groups_spec.rb index 6b9175736d..cbbe4fed25 100644 --- a/spec/ruby/core/process/groups_spec.rb +++ b/spec/ruby/core/process/groups_spec.rb @@ -14,7 +14,7 @@ describe "Process.groups" do end describe "Process.groups=" do - platform_is_not :windows do + platform_is_not :windows, :android do as_superuser do it "sets the list of gids of groups in the supplemental group access list" do groups = Process.groups diff --git a/spec/ruby/core/process/initgroups_spec.rb b/spec/ruby/core/process/initgroups_spec.rb index 1dd516d8b2..ffc7f282b6 100644 --- a/spec/ruby/core/process/initgroups_spec.rb +++ b/spec/ruby/core/process/initgroups_spec.rb @@ -1,7 +1,7 @@ require_relative '../../spec_helper' describe "Process.initgroups" do - platform_is_not :windows do + platform_is_not :windows, :android do as_user do it "initializes the supplemental group access list" do name = `id -un`.strip |