summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-25 01:28:14 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-25 01:28:14 +0000
commit563e0ea8cc6bf90c6c49e9b429142b29793f831f (patch)
treef368415e3e807ea06ead4b854f2428e0995e1186
parent53149d38bd53326c5efab93e9956bea5d686d3ff (diff)
downloadruby-563e0ea8cc6bf90c6c49e9b429142b29793f831f.tar.gz
ruby-563e0ea8cc6bf90c6c49e9b429142b29793f831f.tar.xz
ruby-563e0ea8cc6bf90c6c49e9b429142b29793f831f.zip
* bootstraptest/runner.rb: add lib/ to load path.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--bootstraptest/runner.rb7
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d2fb1041d..fffe7294b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Feb 25 10:27:17 2007 Minero Aoki <aamine@loveruby.net>
+
+ * bootstraptest/runner.rb: add lib/ to load path.
+
Sat Feb 25 10:16:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 6ad37d7af..8fc3bc2e0 100644
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -1,10 +1,11 @@
-# $Id: $
+# $Id$
# NOTE:
# Never use optparse in this file.
# Never use test/unit in this file.
# Never use Ruby extensions in this file.
+$LOAD_PATH.unshift "#{File.dirname($0)}/lib"
require 'fileutils'
def main
@@ -116,9 +117,7 @@ end
def cleanup_coredump
FileUtils.rm_f 'core'
- Dir.glob('core.*').each do |ent|
- FileUtils.rm_f ent
- end
+ FileUtils.rm_f Dir.glob('core.*')
end
class CoreDumpError < StandardError; end