test_process.rb: use never existing file
* test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure): use never existing file in the current temporary directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
082e1344cc
commit
27f414916e
@ -1,3 +1,8 @@
|
|||||||
|
Fri Nov 2 04:40:10 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure):
|
||||||
|
use never existing file in the current temporary directory.
|
||||||
|
|
||||||
Fri Nov 2 04:23:20 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
Fri Nov 2 04:23:20 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* tool/merger.rb: add feature to tag preview/rc.
|
* tool/merger.rb: add feature to tag preview/rc.
|
||||||
|
@ -348,7 +348,7 @@ class TestProcess < Test::Unit::TestCase
|
|||||||
with_tmpchdir {|d|
|
with_tmpchdir {|d|
|
||||||
write_file 's', <<-"End"
|
write_file 's', <<-"End"
|
||||||
ENV["mgg"] = nil
|
ENV["mgg"] = nil
|
||||||
prog = "/nonexistent"
|
prog = "./nonexistent"
|
||||||
begin
|
begin
|
||||||
Process.exec({"mgg" => "mggoo"}, [prog, prog])
|
Process.exec({"mgg" => "mggoo"}, [prog, prog])
|
||||||
rescue Errno::ENOENT
|
rescue Errno::ENOENT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user