X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=t%2Ft5300-pack-object.sh;h=1510ea9fcc2f02a6c7490d0a613111859140a298;hb=c06818e20a88f58294de0a948a437c7c32c382fe;hp=7dfb1ab77b070447c4dd2b9f645785feec6f5480;hpb=c5ced64578a82b9d172aceb2f67c6fb9e639f6d9;p=git.git diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 7dfb1ab7..1510ea9f 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