summaryrefslogtreecommitdiff
path: root/rubytest.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-03 09:50:41 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-03 09:50:41 +0000
commit5222760bc4062f4ce0f8a2c46961fb4cb26682f1 (patch)
tree8cb43e1d3e273d64588df7db13cd2aeb7ca99b65 /rubytest.rb
parentd65b573aea73565ac4db34c3ab403c9f734fbfd2 (diff)
downloadruby-5222760bc4062f4ce0f8a2c46961fb4cb26682f1.tar.gz
matz - nakada win32 patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubytest.rb')
-rw-r--r--rubytest.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/rubytest.rb b/rubytest.rb
index c25155bb67..e4b2ee636c 100644
--- a/rubytest.rb
+++ b/rubytest.rb
@@ -1,6 +1,6 @@
-#! ./miniruby -I.
+#! ./miniruby
-require 'rbconfig'
+load './rbconfig.rb'
include Config
unless File.exist? "./#{CONFIG['ruby_install_name']}#{CONFIG['EXEEXT']}"
@@ -32,7 +32,7 @@ end
$stderr.reopen($stdout)
error = ''
-`./#{CONFIG["ruby_install_name"]} #{CONFIG["srcdir"]}/sample/test.rb`.each do |line|
+`./#{CONFIG["ruby_install_name"]}#{CONFIG["EXEEXT"]} #{CONFIG["srcdir"]}/sample/test.rb`.each do |line|
if line =~ /^end of test/
print "test succeeded\n"
exit 0