From a5fc96a5c12b347c9b78949810bca245f48a1bec Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 1 Nov 2012 12:46:27 +0000 Subject: * test/ruby/test_process.rb: Revert r37404. My ubuntu box has actually the directory named "/nonexistent"... Sorry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_process.rb') 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 -- cgit v1.2.3