[ruby-cvs:73672] mame:r66568 (trunk): test/ruby/test_process.rb (test_execopts_uid): rescue Errno::EACCES

mame at ruby-lang.org mame at ruby-lang.org
Wed Dec 26 14:31:22 JST 2018

mame	2018-12-26 14:31:22 +0900 (Wed, 26 Dec 2018)

  New Revision: 66568


    test/ruby/test_process.rb (test_execopts_uid): rescue Errno::EACCES
    The tests fail under the following condition:
        * executed as a root
        * the code is in a directory that uid:30000 user cannot access
          (e.g., /root)
    So, this change rescues Errno::EACCES explicitly.
    Also, this change adds `exception: true` to `Kernel#system` calls.

  Modified files:

More information about the ruby-cvs mailing list