]> 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>
Wed, 14 Jan 2026 19:54:36 +0000 (14:54 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2026 20:52:56 +0000 (12:52 -0800)
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 faae98c7e76a204d281397282ae75a97bc441c31..efeab4d22b7c7902dbed6941a3e8d39c6a0eadd9 100755 (executable)
@@ -517,7 +517,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"
 '