]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t5319-multi-pack-index.sh: fix copy-and-paste error in t5319.39
authorTaylor Blau <me@ttaylorr.com>
Sat, 6 Dec 2025 20:31:16 +0000 (15:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Dec 2025 22:38:06 +0000 (07:38 +0900)
Commit d4bf1d88b90 (multi-pack-index: verify missing pack, 2018-09-13)
adds a new test to the MIDX test script to test how we handle missing
packs.

While the commit itself describes the test as "verify missing pack[s]",
the test itself is actually called "verify packnames out of order",
despite that not being what it tests.

Likely this was a copy-and-paste of the test immediately above it of the
same name. Correct this by renaming the test to match the commit
message.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5319-multi-pack-index.sh

index 93f319a4b29fbb3d3899a1d1f3914dd7766dd672..ca020091dda498cf18f4039a6a0b93663cb7abdb 100755 (executable)
@@ -455,7 +455,7 @@ test_expect_success 'verify packnames out of order' '
                "pack names out of order"
 '
 
-test_expect_success 'verify packnames out of order' '
+test_expect_success 'verify missing pack' '
        corrupt_midx_and_verify $MIDX_BYTE_PACKNAME_ORDER "a" $objdir \
                "failed to load pack"
 '