diff options
| author | Xu Cheng | 2015-07-21 17:23:04 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-07-22 20:27:20 +0800 |
| commit | c39b0ef000318a654739f80ebd5babcdc93c7e83 (patch) | |
| tree | 360d046b7e1daa87156632ae78b646eb321c0f80 /Library/Homebrew/test | |
| parent | c4ba428d5407df6607c3525849b3ddd5156b5c6e (diff) | |
| download | brew-c39b0ef000318a654739f80ebd5babcdc93c7e83.tar.bz2 | |
test_formula_installer: fix log file leak
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_formula_installer.rb | 2 |
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? |
