X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft5300-pack-object.sh;h=de45ac4e0fcea5b7acab245af9876b58ec1ccea3;hb=0081e36c9dc3c201e22f12ebebadfff88fa32b91;hp=7dfb1ab77b070447c4dd2b9f645785feec6f5480;hpb=c5ced64578a82b9d172aceb2f67c6fb9e639f6d9;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