diff options
| author | Martin Afanasjew | 2016-07-10 03:32:20 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-07-10 16:01:10 +0200 |
| commit | ecc329e33fe7c4ebacb9965aae61ad6a9e332983 (patch) | |
| tree | 45ffd041b3dac1dbccf15ea0a5fef615de5b5aa0 /Library | |
| parent | 942e1a726b0b0e82a4f2299e06c6d441e8218080 (diff) | |
| download | brew-ecc329e33fe7c4ebacb9965aae61ad6a9e332983.tar.bz2 | |
tests: clean up after bottle test
Fix minor regression in b55250c44eacd49646407b26a73753965d4d36d0. The
bottle is placed in the current working directory, is unaffected by the
the single teardown introduced in #475, and thus needs manual handling.
Closes #483.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index eb2bafd5d..1c7da6818 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -250,6 +250,8 @@ class IntegrationCommandTests < Homebrew::TestCase end assert_match(/testball-0\.1.*\.bottle\.tar\.gz/, cmd_output("bottle", "--no-revision", "testball")) + ensure + FileUtils.rm_f Dir["testball-0.1*.bottle.tar.gz"] end def test_uninstall |
