summaryrefslogtreecommitdiff
path: root/tests/tests/drs-push-rejects
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/drs-push-rejects')
-rwxr-xr-xtests/tests/drs-push-rejects8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects
index 8c4ad83..4b7de34 100755
--- 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
-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