aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
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