aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_formula_install.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb
index ea1584ec6..967f2e6cc 100644
--- a/Library/Homebrew/test/test_formula_install.rb
+++ b/Library/Homebrew/test/test_formula_install.rb
@@ -17,6 +17,10 @@ end
class ConfigureTests < Test::Unit::TestCase
+ def teardown
+ HOMEBREW_CACHE.rmtree
+ end
+
def test_detect_failed_configure
f = ConfigureFails.new
shutup { f.brew { f.install } }
@@ -27,6 +31,10 @@ end
class InstallTests < Test::Unit::TestCase
+ def teardown
+ HOMEBREW_CACHE.rmtree
+ end
+
def temporary_install f
# Brew and install the given formula
shutup do