]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5300-pack-object.sh
check_packed_git_idx(): check integrity of the idx file itself.
[thirdparty/git.git] / t / t5300-pack-object.sh
index 5b50536b54ff84b6a6e51c210be39773c6879443..7dfb1ab77b070447c4dd2b9f645785feec6f5480 100755 (executable)
@@ -163,6 +163,13 @@ test_expect_success \
      else :;
      fi &&
 
+     cp test-1-${packname_1}.pack test-3.pack &&
+     dd if=/dev/zero of=test-3.idx count=1 bs=1 conv=notrunc seek=1200 &&
+     if git-verify-pack test-3.pack
+     then false
+     else :;
+     fi &&
+
      :'
 
 test_expect_success \