t: use hash-object --literally when created malformed objects
commit34959d80db602b7d6893c9e2dfa81d78fd16f702
authorJeff King <peff@peff.net>
Wed, 18 Jan 2023 20:41:56 +0000 (18 15:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jan 2023 20:59:44 +0000 (18 12:59 -0800)
tree1278e4d20cc2794c7ad330ec0bf6046566207741
parentad5dfeac040c16057a23f341408d229656e42ab4
t: use hash-object --literally when created malformed objects

Many test scripts use hash-object to create malformed objects to see how
we handle the results in various commands. In some cases we already have
to use "hash-object --literally", because it does some rudimentary
quality checks. But let's use "--literally" more consistently to
future-proof these tests against hash-object learning to be more
careful.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 files changed:
t/t1450-fsck.sh
t/t4054-diff-bogus-tree.sh
t/t4058-diff-duplicates.sh
t/t4212-log-corrupt.sh
t/t5302-pack-index.sh
t/t5504-fetch-receive-strict.sh
t/t5702-protocol-v2.sh
t/t6300-for-each-ref.sh
t/t7509-commit-authorship.sh
t/t7510-signed-commit.sh
t/t7528-signed-commit-ssh.sh
t/t8003-blame-corner-cases.sh
t/t9350-fast-export.sh