aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-01 12:46:27 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-01 12:46:27 +0000
commita5fc96a5c12b347c9b78949810bca245f48a1bec (patch)
treea6803946215b32711dcc69e918eee8a6d1789bcd
parentde08204297f3272ad66b0ec9813caf03b17519fc (diff)
downloadruby-a5fc96a5c12b347c9b78949810bca245f48a1bec.tar.gz
* 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
-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 ae5bc26efc..ef753a43b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* test/ruby/test_process.rb: Process.exec raised EACCES on Linux
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 2fc9a568a5..515e6e3d24 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -351,7 +351,7 @@ class TestProcess < Test::Unit::TestCase
prog = "/nonexistent"
begin
Process.exec({"mgg" => "mggoo"}, [prog, prog])
- rescue Errno::ENOENT, Errno::EACCES
+ rescue Errno::ENOENT
end
open('out', 'w') {|f|
f.print ENV["mgg"].inspect