Skip to content

Commit

Permalink
* test/ruby/test_process.rb: Process.exec raised EACCES on Linux
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
mame committed Nov 1, 2012
1 parent 0c4a27a commit de08204
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/ruby/test_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def test_execopts_preserve_env_on_exec_failure
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
Expand Down

0 comments on commit de08204

Please sign in to comment.