diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-01 12:33:51 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-01 12:33:51 +0000 |
commit | de08204297f3272ad66b0ec9813caf03b17519fc (patch) | |
tree | 6d1013071ede245bba93beac350e3fd66ca05139 /test/ruby/test_process.rb | |
parent | 0c4a27a5a207b7ab30d4b2edd16e0b75e551e1da (diff) | |
download | ruby-de08204297f3272ad66b0ec9813caf03b17519fc.tar.gz |
* test/ruby/test_process.rb: Process.exec raised EACCES on Linux
3.5.0-17-generic. This is a temporal fix to rescue that exception.
Needs kosaki's review.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 515e6e3d24..2fc9a568a5 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -351,7 +351,7 @@ class TestProcess < Test::Unit::TestCase prog = "/nonexistent" begin Process.exec({"mgg" => "mggoo"}, [prog, prog]) - rescue Errno::ENOENT + rescue Errno::ENOENT, Errno::EACCES end open('out', 'w') {|f| f.print ENV["mgg"].inspect |