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

ruby-changes:40825

From: usa <ko1@a...>
Date: Sun, 6 Dec 2015 16:22:34 +0900 (JST)
Subject: [ruby-changes:40825] usa:r52904 (trunk): * test/fileutils/test_fileutils.rb: add debug output to investigate the error that occur at random on Windows CI.

usa	2015-12-06 16:22:17 +0900 (Sun, 06 Dec 2015)

  New Revision: 52904

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

  Log:
    * test/fileutils/test_fileutils.rb: add debug output to investigate the error that occur at random on Windows CI.

  Modified files:
    trunk/test/fileutils/test_fileutils.rb
Index: test/fileutils/test_fileutils.rb
===================================================================
--- test/fileutils/test_fileutils.rb	(revision 52903)
+++ test/fileutils/test_fileutils.rb	(revision 52904)
@@ -109,7 +109,12 @@ class TestFileUtils < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L109
         false
       end
     ensure
-      Dir.rmdir tmproot
+      begin
+        Dir.rmdir tmproot
+      rescue
+        STDERR.puts $!.inspect
+        STDERR.puts Dir.entries(tmproot).inspect
+      end
     end
   end
   include m

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

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