mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 10:33:58 +02:00
* test/ruby/test_require.rb (TestRequire#test_require_with_unc):
use ``127.0.0.1'' instead of ``localhost'' as host name, because XP or earlier cannot resolv it as NBT hostname. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e2a194fa7
commit
c4bf3eba2b
2 changed files with 7 additions and 1 deletions
|
@ -92,7 +92,7 @@ class TestRequire < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_require_with_unc
|
||||
assert(system(File.expand_path(EnvUtil.rubybin).sub(/\A(\w):/, '//localhost/\1$/'), "-rabbrev", "-e0"))
|
||||
assert(system(File.expand_path(EnvUtil.rubybin).sub(/\A(\w):/, '//127.0.0.1/\1$/'), "-rabbrev", "-e0"))
|
||||
end if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
|
||||
def test_define_class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue