mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
de08204297
commit
a5fc96a5c1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Nov 1 21:42:20 2012 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* test/ruby/test_process.rb: Revert r37404. My ubuntu box has
|
||||||
|
actually the directory named "/nonexistent"... Sorry.
|
||||||
|
|
||||||
Thu Nov 1 21:28:28 2012 Yusuke Endoh <mame@tsg.ne.jp>
|
Thu Nov 1 21:28:28 2012 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* test/ruby/test_process.rb: Process.exec raised EACCES on Linux
|
* test/ruby/test_process.rb: Process.exec raised EACCES on Linux
|
||||||
|
|
|
@ -351,7 +351,7 @@ class TestProcess < Test::Unit::TestCase
|
||||||
prog = "/nonexistent"
|
prog = "/nonexistent"
|
||||||
begin
|
begin
|
||||||
Process.exec({"mgg" => "mggoo"}, [prog, prog])
|
Process.exec({"mgg" => "mggoo"}, [prog, prog])
|
||||||
rescue Errno::ENOENT, Errno::EACCES
|
rescue Errno::ENOENT
|
||||||
end
|
end
|
||||||
open('out', 'w') {|f|
|
open('out', 'w') {|f|
|
||||||
f.print ENV["mgg"].inspect
|
f.print ENV["mgg"].inspect
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue