aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-27 16:39:46 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-27 16:39:46 -0700
commit5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8 (patch)
treef2f8e30270d8231bd7591295e4ce2e9ecf7d0453 /t
parentbb0d283989ec8853ffd72dfb26ff557ffa7781e4 (diff)
parent4b480c6716a7d8e20e7e510827ea81e7939f335a (diff)
downloadgit-5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8.tar.gz
git-5a1e8707a6d9c7016a59d9987c1bc72ffe1252c8.tar.xz
Merge branch 'np/verify-pack'
* 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 645583f9d..83abe5f25 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 &&