summaryrefslogtreecommitdiffstats
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
commit8884ab5e392549c34d79bcb8b32c13c9166626d4 (patch)
tree8cb43e1d3e273d64588df7db13cd2aeb7ca99b65 /rubytest.rb
parentbb70bf13b22159d39c29e928294f1e9bca7f700e (diff)
downloadruby-8884ab5e392549c34d79bcb8b32c13c9166626d4.tar.gz
ruby-8884ab5e392549c34d79bcb8b32c13c9166626d4.tar.xz
ruby-8884ab5e392549c34d79bcb8b32c13c9166626d4.zip
matz - nakada win32 patch
git-svn-id: http://svn.ruby-lang.org/repos/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 c25155bb6..e4b2ee636 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