mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Merge branch 'jk/t5319-midx-corruption-test-deflake'
Test fix. * jk/t5319-midx-corruption-test-deflake: t5319: corrupt more bytes of the midx checksum
This commit is contained in:
commit
b0b5337876
|
@ -482,8 +482,10 @@ test_expect_success 'corrupt MIDX is not reused' '
|
|||
'
|
||||
|
||||
test_expect_success 'verify incorrect checksum' '
|
||||
pos=$(($(wc -c <$objdir/pack/multi-pack-index) - 1)) &&
|
||||
corrupt_midx_and_verify $pos "\377" $objdir "incorrect checksum"
|
||||
pos=$(($(wc -c <$objdir/pack/multi-pack-index) - 10)) &&
|
||||
corrupt_midx_and_verify $pos \
|
||||
"\377\377\377\377\377\377\377\377\377\377" \
|
||||
$objdir "incorrect checksum"
|
||||
'
|
||||
|
||||
test_expect_success 'repack progress off for redirected stderr' '
|
||||
|
|
Loading…
Reference in a new issue