t1007: modernize malformed object tests
commit6e2646075c456f2bd3dfe6afd7d72316174b02ed
authorJeff King <peff@peff.net>
Wed, 18 Jan 2023 20:35:30 +0000 (18 15:35 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jan 2023 20:59:44 +0000 (18 12:59 -0800)
tree1354927fe187b3485b51a71988acd3cce7217374
parent37537d6472d87098d455b6a0c36885997ea81a85
t1007: modernize malformed object tests

The tests in t1007 for detecting malformed objects have two
anachronisms:

 - they use "sha1" instead of "oid" in variable names, even though the
   script as a whole has been adapted to handle sha256

 - they use test_i18ngrep, which is no longer necessary

Since we'll be adding a new similar test, let's clean these up so they
are all consistently using the modern style.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1007-hash-object.sh