Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-11 01:35:08 +0300
committerJunio C Hamano <gitster@pobox.com>2021-12-11 01:35:08 +0300
commitb0b5337876c418862f81c69e0b481eecded38728 (patch)
tree5984c97f9c9f9c0ee0ce60cfc5a3cd739813303f /t
parent9b0a970ace0316662697cd9db326bcfb48e36838 (diff)
parent152923b132d57e1dbd693a8cb9a8bc1827405674 (diff)
Merge branch 'jk/t5319-midx-corruption-test-deflake'
Test fix. * jk/t5319-midx-corruption-test-deflake: t5319: corrupt more bytes of the midx checksum
Diffstat (limited to 't')
-rwxr-xr-xt/t5319-multi-pack-index.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t5319-multi-pack-index.sh b/t/t5319-multi-pack-index.sh
index 3f69e43178..a612e44547 100755
--- a/t/t5319-multi-pack-index.sh
+++ b/t/t5319-multi-pack-index.sh
@@ -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' '