summaryrefslogtreecommitdiff
path: root/t/t5300-pack-object.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-08-27 16:39:46 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-08-27 16:39:46 -0700
commit5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8 (patch)
treef2f8e30270d8231bd7591295e4ce2e9ecf7d0453 /t/t5300-pack-object.sh
parentMerge branch 'da/submodule-sync' (diff)
parentdiscard revindex data when pack list changes (diff)
downloadtgif-5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8.tar.xz
Merge branch 'np/verify-pack'
* np/verify-pack: discard revindex data when pack list changes
Diffstat (limited to 't/t5300-pack-object.sh')
-rwxr-xr-xt/t5300-pack-object.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh
index 645583f9d7..83abe5f25e 100755
--- a/t/t5300-pack-object.sh
+++ b/t/t5300-pack-object.sh
@@ -187,6 +187,12 @@ test_expect_success \
test-3-${packname_3}.idx'
test_expect_success \
+ 'verify pack -v' \
+ 'git verify-pack -v test-1-${packname_1}.idx \
+ test-2-${packname_2}.idx \
+ test-3-${packname_3}.idx'
+
+test_expect_success \
'verify-pack catches mismatched .idx and .pack files' \
'cat test-1-${packname_1}.idx >test-3.idx &&
cat test-2-${packname_2}.pack >test-3.pack &&