Skip to content

Commit ac9b240

Browse files
mjggitster
authored andcommitted
t6120: clean up state after breaking repo
t6120 breaks the repo state intentionally in the last tests. Clean up the breakage afterwards (and before adding more tests). Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a24fa65 commit ac9b240

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t6120-describe.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ test_expect_success 'describe chokes on severely broken submodules' '
275275
'
276276
test_expect_success 'describe ignoring a borken submodule' '
277277
git describe --broken >out &&
278+
test_when_finished "mv .git/modules/sub_moved .git/modules/sub1" &&
278279
grep broken out
279280
'
280281

0 commit comments

Comments
 (0)