mirror of
https://github.com/git/git.git
synced 2026-03-07 15:57:43 +01:00
Merge branch 'jk/t5319-midx-corruption-test-deflake' into next
Test fix. * jk/t5319-midx-corruption-test-deflake: t5319: corrupt more bytes of the midx checksum
This commit is contained in:
@@ -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' '
|
||||
|
||||
Reference in New Issue
Block a user