chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test suite: New test downstream-gitless (wip)
[dgit.git]
/
tests
/
tests
/
drs-push-rejects
diff --git
a/tests/tests/drs-push-rejects
b/tests/tests/drs-push-rejects
index 8c4ad83cd75acee8b65d289d287404e8f4f05768..4b7de3408c9496137f609dfdf0ec1a6743a594d3 100755
(executable)
--- a/
tests/tests/drs-push-rejects
+++ b/
tests/tests/drs-push-rejects
@@
-141,13
+141,7
@@
mktag
mustfail 'tag name in tag is wrong' \
refs/tags/$tagpfx/wombat:refs/tags/$tagpfx/$version $push_spec1
mustfail 'tag name in tag is wrong' \
refs/tags/$tagpfx/wombat:refs/tags/$tagpfx/$version $push_spec1
-echo ====
-badcommit=$(
- git cat-file commit HEAD | \
- perl -pe 's/^committer.*\n//' | \
- git hash-object -w -t commit --stdin
-)
-t-expect-fsck-fail $badcommit
+t-make-badcommit
git checkout -b broken $badcommit
prep unstable sid
mktag
git checkout -b broken $badcommit
prep unstable sid
mktag