From: Eddy Petrișor <eddy.petri...@gmail.com>

Signed-off-by: Eddy Petrișor <eddy.petri...@gmail.com>
---
 t/t7406-submodule-update.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh
index 974f949df..c5b412c46 100755
--- a/t/t7406-submodule-update.sh
+++ b/t/t7406-submodule-update.sh
@@ -298,7 +298,9 @@ test_expect_success 'submodule update --remote --recursive 
--init should fetch m
                cd submodl2b2 &&
                git rev-parse --verify HEAD >../../../actuall2 &&
                test_cmp ../../../expectl2 ../../../actuall2
-       )
+       ) &&
+       test_when_finished "rm submodl2b2" &&
+       test_when_finished "rm submodl1b1"
 '
 
 test_expect_success 'local config should override .gitmodules branch' '
-- 
2.16.2

Reply via email to