summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-06 17:50:08 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-06 18:32:14 +0000
commitb1492e1bf5ca414c4e540b969e3ad07a5ed13635 (patch)
tree622595f40b0c91c9b1e57bff7760b7d8005f1088 /tests
parent191a070be86cf2dda2da63b089ef9b6c45d3c1db (diff)
test suite: t-make-badcommit: Generate a commit we can fix up
This is very like a commit generated by #849041. The wrongness is the same. The difference is that it's not in a dgit-generated merge, but the fixup script doesn't care about that. The existing test case which uses this (drs-push-rejects) still sees badness and is therefore still happy. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index cf7d4cf..f2414ae 100644
--- a/tests/lib
+++ b/tests/lib
@@ -901,7 +901,7 @@ t-gbp-example-prep () {
t-make-badcommit () {
badcommit=$(
git cat-file commit HEAD | \
- perl -pe 's/^committer.*\n//' | \
+ perl -pe 's/^committer /commiter /' | \
git hash-object -w -t commit --stdin
)
t-expect-fsck-fail $badcommit