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

ruby-changes:40353

From: nobu <ko1@a...>
Date: Tue, 3 Nov 2015 22:24:46 +0900 (JST)
Subject: [ruby-changes:40353] nobu:r52434 (trunk): test_gdbm.rb: teardown

nobu	2015-11-03 22:24:27 +0900 (Tue, 03 Nov 2015)

  New Revision: 52434

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

  Log:
    test_gdbm.rb: teardown
    
    * test/gdbm/test_gdbm.rb (teardown): show hidden files.

  Modified files:
    trunk/test/gdbm/test_gdbm.rb
Index: test/gdbm/test_gdbm.rb
===================================================================
--- test/gdbm/test_gdbm.rb	(revision 52433)
+++ test/gdbm/test_gdbm.rb	(revision 52434)
@@ -68,7 +68,9 @@ if defined? GDBM https://github.com/ruby/ruby/blob/trunk/test/gdbm/test_gdbm.rb#L68
       begin
         FileUtils.remove_entry_secure @tmpdir
       rescue
-        system("ls", "-lR", @tmpdir)
+        system("ls", "-lRa", @tmpdir)
+        system("rmdir", @tmpdir)
+        raise
       else
         return
       end

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

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