diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-26 05:31:22 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-26 05:31:22 +0000 |
commit | 1df30008b2461c930a3fb8a8d887f54e403f8379 (patch) | |
tree | 7e717789f6ba45f40ae8c5b5ca35345823a2e6c7 /test/lib/-test- | |
parent | b8d28b33b4df47f53d78b2f5587a72429cda3d91 (diff) | |
download | ruby-1df30008b2461c930a3fb8a8d887f54e403f8379.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/-test-')
0 files changed, 0 insertions, 0 deletions