mirror of
https://github.com/git/git
synced 2024-10-29 17:08:46 +00:00
t5318: update for SHA-256
Switch two tests to use $ZERO_OID to represent the all-zeros object ID. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
f7ae8e69b6
commit
48c10cc0e6
1 changed files with 2 additions and 2 deletions
|
@ -629,7 +629,7 @@ test_expect_success 'corrupt commit-graph write (broken parent)' '
|
|||
empty="$(git mktree </dev/null)" &&
|
||||
cat >broken <<-EOF &&
|
||||
tree $empty
|
||||
parent 0000000000000000000000000000000000000000
|
||||
parent $ZERO_OID
|
||||
author whatever <whatever@example.com> 1234 -0000
|
||||
committer whatever <whatever@example.com> 1234 -0000
|
||||
|
||||
|
@ -650,7 +650,7 @@ test_expect_success 'corrupt commit-graph write (missing tree)' '
|
|||
cd repo &&
|
||||
tree="$(git mktree </dev/null)" &&
|
||||
cat >broken <<-EOF &&
|
||||
parent 0000000000000000000000000000000000000000
|
||||
parent $ZERO_OID
|
||||
author whatever <whatever@example.com> 1234 -0000
|
||||
committer whatever <whatever@example.com> 1234 -0000
|
||||
|
||||
|
|
Loading…
Reference in a new issue