From b593854cc05c073323608a0a498aa03069565e5b Mon Sep 17 00:00:00 2001 From: southerntofu Date: Wed, 23 Sep 2020 17:03:17 -0400 Subject: [PATCH] Don't leak temp files :) --- tests/git.bats | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/git.bats b/tests/git.bats index b80afff..8c7163b 100755 --- a/tests/git.bats +++ b/tests/git.bats @@ -50,6 +50,7 @@ function teardown { function clean { if [ -d $GITREPO ]; then rm -rf $GITREPO; fi if [ -d $FORGEBUILDDIR ]; then rm -rf $FORGEBUILDDIR; fi + if [ -d $SUBMODULE ]; then rm -rf $SUBMODULE; fi if [ -f /tmp/forgebuild-time ]; then rm /tmp/forgebuild-time; fi if [ -f /tmp/forgebuild-host ]; then rm /tmp/forgebuild-host; fi if [ -f /tmp/forgebuild-branch ]; then rm /tmp/forgebuild-branch; fi