mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath on
windows. bcc32's runtime is not installed into system directory, so it cannot be found without this setting. [ruby-dev:27166] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d13023d257
commit
a5eca5dd04
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Sep 20 17:34:46 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
|
* test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath on
|
||||||
|
windows. bcc32's runtime is not installed into system directory,
|
||||||
|
so it cannot be found without this setting. [ruby-dev:27166]
|
||||||
|
|
||||||
Tue Sep 20 17:10:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Tue Sep 20 17:10:38 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
|
* test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,9 @@ class TestWEBrickCGI < Test::Unit::TestCase
|
||||||
:DocumentRoot => File.dirname(__FILE__),
|
:DocumentRoot => File.dirname(__FILE__),
|
||||||
:DirectoryIndex => ["webrick.cgi"],
|
:DirectoryIndex => ["webrick.cgi"],
|
||||||
}
|
}
|
||||||
|
if RUBY_PLATFORM =~ /mswin32|mingw|cygwin|bccwin32/
|
||||||
|
config[:CGIPathEnv] = ENV['PATH'] # runtime dll may not be in system dir.
|
||||||
|
end
|
||||||
TestWEBrick.start_httpserver(config){|server, addr, port|
|
TestWEBrick.start_httpserver(config){|server, addr, port|
|
||||||
http = Net::HTTP.new(addr, port)
|
http = Net::HTTP.new(addr, port)
|
||||||
req = Net::HTTP::Get.new("/webrick.cgi")
|
req = Net::HTTP::Get.new("/webrick.cgi")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue