From 04e3e2de568956030c1868c9846506989d8a2392 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 9 Apr 2012 14:14:39 +0000 Subject: * test/ruby/test_file.rb (TestFile#test_long_unc): fix for the case cwd is UNC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_file.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby/test_file.rb') diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index 52dcffdcd0..bf2562317b 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -209,6 +209,7 @@ class TestFile < Test::Unit::TestCase def test_long_unc feature3399 = '[ruby-core:30623]' path = File.expand_path(__FILE__) + path.sub!(%r'\A//', 'UNC/') assert_nothing_raised(Errno::ENOENT, feature3399) do File.stat("//?/#{path}") end -- cgit v1.2.3