summaryrefslogtreecommitdiff
path: root/t/t7400-submodule-basic.sh
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2017-02-15 12:33:25 +0100
committerJunio C Hamano <gitster@pobox.com>2017-02-15 10:40:15 -0800
commitc4c9d86a8ed7bf79f2e43f093bd1e58c57cef590 (patch)
treef3d0d4653ab4e66387d67eb2ec7611785783f6b5 /t/t7400-submodule-basic.sh
parent5588dbffbd61e4906e453808c6ad32f792fea521 (diff)
downloadgit-c4c9d86a8ed7bf79f2e43f093bd1e58c57cef590.tar.gz
t7400: cleanup "submodule add clone shallow submodule" test
The test creates a "super" directory that is not removed after the test finished. This directory is not used in any subsequent tests and should therefore be removed. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7400-submodule-basic.sh')
-rwxr-xr-xt/t7400-submodule-basic.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh
index c09ce0d4c1..37852f751b 100755
--- a/t/t7400-submodule-basic.sh
+++ b/t/t7400-submodule-basic.sh
@@ -1092,6 +1092,7 @@ test_expect_success 'submodule with UTF-8 name' '
'
test_expect_success 'submodule add clone shallow submodule' '
+ test_when_finished "rm -rf super" &&
mkdir super &&
pwd=$(pwd) &&
(