From 27f414916e2f65291d162a3c02407c595dd86400 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 1 Nov 2012 19:40:15 +0000 Subject: 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 --- test/ruby/test_process.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 515e6e3d24..b549b6f770 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -348,7 +348,7 @@ class TestProcess < Test::Unit::TestCase with_tmpchdir {|d| write_file 's', <<-"End" ENV["mgg"] = nil - prog = "/nonexistent" + prog = "./nonexistent" begin Process.exec({"mgg" => "mggoo"}, [prog, prog]) rescue Errno::ENOENT -- cgit v1.2.3