summaryrefslogtreecommitdiff
path: root/spec/ruby/core/dir
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-09-09 20:24:03 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-09-09 20:24:03 +0900
commitcce6cfbe486984c2c41d6b772a692ea87ad0222a (patch)
treecf2fb15982ba592ab6e6f565500ba75f7efa49bf /spec/ruby/core/dir
parent0691a748b6406670ef4cb52d0791b45033b7064e (diff)
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.
Diffstat (limited to 'spec/ruby/core/dir')
-rw-r--r--spec/ruby/core/dir/chroot_spec.rb2
1 files changed, 1 insertions, 1 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