git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a24fa65
)
t6120: clean up state after breaking repo
author
Michael J Gruber
<redacted>
Thu, 7 Sep 2017 14:02:22 +0000
(16:02 +0200)
committer
Junio C Hamano
<redacted>
Fri, 8 Sep 2017 01:37:24 +0000
(10:37 +0900)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6120-describe.sh
patch
|
blob
|
history
diff --git
a/t/t6120-describe.sh
b/t/t6120-describe.sh
index 7c5728ebd574ce133567da0c8cc50fe5e7c1f5ab..1997ccde56356688cbc66bb77f9a17bd25fd6eae 100755
(executable)
--- a/
t/t6120-describe.sh
+++ b/
t/t6120-describe.sh
@@
-275,6
+275,7
@@
test_expect_success 'describe chokes on severely broken submodules' '
'
test_expect_success 'describe ignoring a borken submodule' '
git describe --broken >out &&
+ test_when_finished "mv .git/modules/sub_moved .git/modules/sub1" &&
grep broken out
'
git clone https://git.99rst.org/PROJECT