X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft5300-pack-object.sh;h=de45ac4e0fcea5b7acab245af9876b58ec1ccea3;hb=8c2462dc5bd1aeb42eb5e07e82f9d062db43cd21;hp=7dfb1ab77b070447c4dd2b9f645785feec6f5480;hpb=6ab58895cd951f6f5c96fa432afb122cfeb12746;p=git.git diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 7dfb1ab7..de45ac4e 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -142,6 +142,7 @@ test_expect_success \ else :; fi && + : PACK_SIGNATURE && cp test-1-${packname_1}.pack test-3.pack && dd if=/dev/zero of=test-3.pack count=1 bs=1 conv=notrunc seek=2 && if git-verify-pack test-3.idx @@ -149,6 +150,7 @@ test_expect_success \ else :; fi && + : PACK_VERSION && cp test-1-${packname_1}.pack test-3.pack && dd if=/dev/zero of=test-3.pack count=1 bs=1 conv=notrunc seek=7 && if git-verify-pack test-3.idx @@ -156,6 +158,7 @@ test_expect_success \ else :; fi && + : TYPE/SIZE byte of the first packed object data && cp test-1-${packname_1}.pack test-3.pack && dd if=/dev/zero of=test-3.pack count=1 bs=1 conv=notrunc seek=12 && if git-verify-pack test-3.idx @@ -163,8 +166,11 @@ test_expect_success \ else :; fi && + : sum of the index file itself && + l=`wc -c