ruby-changes:33629
From: akr <ko1@a...>
Date: Thu, 24 Apr 2014 22:54:11 +0900 (JST)
Subject: [ruby-changes:33629] akr:r45710 (trunk): revert r45709.
akr 2014-04-24 22:54:07 +0900 (Thu, 24 Apr 2014) New Revision: 45710 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45710 Log: revert r45709. Modified files: trunk/ChangeLog trunk/bootstraptest/test_io.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 45709) +++ ChangeLog (revision 45710) @@ -1,8 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 -Thu Apr 24 22:38:55 2014 Tanaka Akira <akr@f...> - - * bootstraptest/test_io.rb: Don't use tmpdir because etc.so is not - usable from miniruby. - Thu Apr 24 21:09:55 2014 Kazuhiro NISHIYAMA <zn@m...> * man/ruby.1: fix broken link. Index: bootstraptest/test_io.rb =================================================================== --- bootstraptest/test_io.rb (revision 45709) +++ bootstraptest/test_io.rb (revision 45710) @@ -42,8 +42,9 @@ assert_finish 1, %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_io.rb#L42 } assert_equal 'ok', %q{ + require 'tmpdir' begin - tmpname = "/tmp/ruby-btest-#{$$}-#{rand(0x100000000).to_s(36)}" + tmpname = "#{Dir.tmpdir}/ruby-btest-#{$$}-#{rand(0x100000000).to_s(36)}" rw = File.open(tmpname, File::RDWR|File::CREAT|File::EXCL) rescue Errno::EEXIST retry @@ -57,8 +58,9 @@ assert_equal 'ok', %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_io.rb#L58 } assert_equal 'ok', %q{ + require 'tmpdir' begin - tmpname = "/tmp/ruby-btest-#{$$}-#{rand(0x100000000).to_s(36)}" + tmpname = "#{Dir.tmpdir}/ruby-btest-#{$$}-#{rand(0x100000000).to_s(36)}" rw = File.open(tmpname, File::RDWR|File::CREAT|File::EXCL) rescue Errno::EEXIST retry -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/