diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-26 07:02:31 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-26 07:02:31 +0000 |
commit | 7453cdba1b62d6f6533f8c7bfdf6011524e11853 (patch) | |
tree | 526b7952f17ee8edb99c90c9deb4ba2f46f29a9b /lib | |
parent | 925a722ae2c453c351d6e9fff9776bb0a2061642 (diff) | |
download | ruby-7453cdba1b62d6f6533f8c7bfdf6011524e11853.tar.gz |
spec/ruby/core/process/setpriority_spec.rb: allow to run under docker
Docker container is not always able to lower the nice value even if the
euid is a root. It depends upon the configuration of docker which
cannot check from the container itself.
This change does check it by actually trying to lower the value first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions