Skip to content
Snippets Groups Projects
Commit 72a11b7d authored by Xu Cheng's avatar Xu Cheng
Browse files

test_migrator: fix lock file leak


Closes Homebrew/homebrew#43025.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent a628c15a
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,8 @@ class MigratorTests < Homebrew::TestCase
rmtree HOMEBREW_PREFIX/"opt" if (HOMEBREW_PREFIX/"opt").directory?
# What to do with pin?
@new_f.unpin
FormulaLock::LOCKDIR.children.each(&:unlink)
end
def test_move_cellar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment