aboutsummaryrefslogtreecommitdiffstats
path: root/test/gdbm
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-03 13:24:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-03 13:24:27 +0000
commit3a67ca1ee53010667c5f94370872072d6d0e9c27 (patch)
tree903c26b7aad035d93fe74e7cf311552394503c04 /test/gdbm
parente0d6328ff474a7ff7ab3b3dbd81ab4406e3a0fce (diff)
downloadruby-3a67ca1ee53010667c5f94370872072d6d0e9c27.tar.gz
test_gdbm.rb: teardown
* test/gdbm/test_gdbm.rb (teardown): show hidden files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/gdbm')
-rw-r--r--test/gdbm/test_gdbm.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 4f379be612..46b921b562 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -68,7 +68,9 @@ if defined? GDBM
begin
FileUtils.remove_entry_secure @tmpdir
rescue
- system("ls", "-lR", @tmpdir)
+ system("ls", "-lRa", @tmpdir)
+ system("rmdir", @tmpdir)
+ raise
else
return
end