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
commit8bf3ece3340c15cf915fc409416c03dab7c3f2f0 (patch)
tree903c26b7aad035d93fe74e7cf311552394503c04 /test/gdbm
parent6d1ec7a27fc7409dc2286d549f9dfbc0a336d0b2 (diff)
downloadruby-8bf3ece3340c15cf915fc409416c03dab7c3f2f0.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