aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-01 19:40:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-01 19:40:15 +0000
commit27f414916e2f65291d162a3c02407c595dd86400 (patch)
tree7bf0d756989660aa9147f8cba2babb0fedb2ca9a
parent082e1344ccb587fd663446a423095b58a6cc34a6 (diff)
downloadruby-27f414916e2f65291d162a3c02407c595dd86400.tar.gz
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
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/test_process.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cfd450129a..375cc29c6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* tool/merger.rb: add feature to tag preview/rc.
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