[前][次][番号順一覧][スレッド一覧]

ruby-changes:23222

From: nobu <ko1@a...>
Date: Mon, 9 Apr 2012 23:14:48 +0900 (JST)
Subject: [ruby-changes:23222] nobu:r35272 (trunk): * test/ruby/test_file.rb (TestFile#test_long_unc): fix for the case cwd is UNC.

nobu	2012-04-09 23:14:39 +0900 (Mon, 09 Apr 2012)

  New Revision: 35272

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35272

  Log:
    * test/ruby/test_file.rb (TestFile#test_long_unc): fix for the case cwd is UNC.

  Modified files:
    trunk/test/ruby/test_file.rb

Index: test/ruby/test_file.rb
===================================================================
--- test/ruby/test_file.rb	(revision 35271)
+++ test/ruby/test_file.rb	(revision 35272)
@@ -209,6 +209,7 @@
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]