]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5302-pack-index.sh
close another possibility for propagating pack corruption
[thirdparty/git.git] / t / t5302-pack-index.sh
index 344ab25b8b6ddcd8b687a72e43b9e26aec18263e..29896141b9e20176de6f9b22dd42166e86e0e4c1 100755 (executable)
@@ -160,7 +160,8 @@ test_expect_success \
 
 test_expect_success \
     '[index v2] 5) pack-objects refuses to reuse corrupted data' \
-    'test_must_fail git pack-objects test-5 <obj-list'
+    'test_must_fail git pack-objects test-5 <obj-list &&
+     test_must_fail git pack-objects --no-reuse-object test-6 <obj-list'
 
 test_expect_success \
     '[index v2] 6) verify-pack detects CRC mismatch' \