[ruby-cvs:73674] mame:r66570 (trunk): spec/ruby/core/process/setpriority_spec.rb: allow to run under docker

mame at ruby-lang.org mame at ruby-lang.org
Wed Dec 26 16:02:31 JST 2018


mame	2018-12-26 16:02:31 +0900 (Wed, 26 Dec 2018)

  New Revision: 66570

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66570

  Log:
    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.

  Modified files:
    trunk/spec/ruby/core/process/setpriority_spec.rb


More information about the ruby-cvs mailing list