aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Afanasjew2016-07-10 03:32:20 +0200
committerMartin Afanasjew2016-07-10 16:01:10 +0200
commitecc329e33fe7c4ebacb9965aae61ad6a9e332983 (patch)
tree45ffd041b3dac1dbccf15ea0a5fef615de5b5aa0
parent942e1a726b0b0e82a4f2299e06c6d441e8218080 (diff)
downloadbrew-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>
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb2
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