summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-29 21:48:02 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-29 21:48:02 -0700
commitd2b9dff8a08cc2037a7ba0463e90791f07cb49dd (patch)
tree7f2dab9687fbf4dd06d1feae37a4c60959559dd8 /t
parent53d1589ff6bd336e3ece39e0a963a3d2a537cf96 (diff)
parent4b480c6716a7d8e20e7e510827ea81e7939f335a (diff)
downloadgit-d2b9dff8a08cc2037a7ba0463e90791f07cb49dd.tar.gz
Merge branch 'np/verify-pack' into maint
* np/verify-pack: discard revindex data when pack list changes
Diffstat (limited to 't')
-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 &&