diff options
Diffstat (limited to 'test')
-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 2fc9a568a5..515e6e3d24 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, Errno::EACCES + rescue Errno::ENOENT end open('out', 'w') {|f| f.print ENV["mgg"].inspect |