From 54fe5bf6e7209a99d9a3565b12efe1be751b349d Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 2 Jun 2010 21:25:18 +0000 Subject: * test/ruby/test_path.rb (test_path): get rid of blocking on access to non-existent host. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/ruby/test_path.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8808caf245..353e64b2db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 3 06:25:14 2010 Nobuyoshi Nakada + + * test/ruby/test_path.rb (test_path): get rid of blocking on + access to non-existent host. + Thu Jun 3 05:37:46 2010 Ryan Davis * tool/rbinstall.rb (install-bin): Allow bin/* install from dot-dirs. diff --git a/test/ruby/test_path.rb b/test/ruby/test_path.rb index 606575e4ba..ad080fa444 100644 --- a/test/ruby/test_path.rb +++ b/test/ruby/test_path.rb @@ -35,8 +35,8 @@ class TestPath < Test::Unit::TestCase assert_equal("/sub", File.expand_path("sub", "/")) end if dosish - assert_equal("//machine/share", File.expand_path("/", "//machine/share/sub")) - assert_equal("//machine/share/dir", File.expand_path("/dir", "//machine/share/sub")) + assert_equal("//127.0.0.1/share", File.expand_path("/", "//127.0.0.1/share/sub")) + assert_equal("//127.0.0.1/share/dir", File.expand_path("/dir", "//127.0.0.1/share/sub")) assert_equal("z:/", File.expand_path("/", "z:/sub")) assert_equal("z:/dir", File.expand_path("/dir", "z:/sub")) end -- cgit v1.2.3