diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/ruby/test_process.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Thu Nov 1 21:28:28 2012 Yusuke Endoh <mame@tsg.ne.jp> + + * 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. + Thu Nov 1 21:19:56 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * iseq.c (set_relation): parent_iseq need to be set regardless iseq 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 |