1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Make test-all and test-spec runnable on Android

Calling some syscall functions such as Dir.chroot causes SIGSYS instead
of EPERM on Android.
This change skips all tests that stops the test-suite run.
This commit is contained in:
Yusuke Endoh 2019-09-09 20:24:03 +09:00
parent 0691a748b6
commit cce6cfbe48
8 changed files with 16 additions and 3 deletions

View file

@ -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