aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula_installer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_formula_installer.rb b/Library/Homebrew/test/test_formula_installer.rb
index a76ef66df..599099fd9 100644
--- a/Library/Homebrew/test/test_formula_installer.rb
+++ b/Library/Homebrew/test/test_formula_installer.rb
@@ -23,6 +23,8 @@ class InstallTests < Homebrew::TestCase
keg.unlink
keg.uninstall
formula.clear_cache
+ # there will be log files when sandbox is enable.
+ formula.logs.rmtree if formula.logs.directory?
end
refute_predicate keg, :exist?