X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5300-pack-object.sh;h=b335c6b42de59b9632ff29693c2d7c75dae9794a;hb=c4f6a48969b33e7fec8fce592e38a60849782d2a;hp=3a0ef8759c9d7a55b95c56ca38cd3c37ac2432fa;hpb=9f35e5fd544ab87488b12d9b97be983303e58bd2;p=git.git diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 3a0ef8759..b335c6b42 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -272,7 +272,8 @@ test_expect_success \ test_expect_success \ 'make sure index-pack detects the SHA1 collision' \ - 'test_must_fail git index-pack -o bad.idx test-3.pack' + 'test_must_fail git index-pack -o bad.idx test-3.pack 2>msg && + grep "SHA1 COLLISION FOUND" msg' test_expect_success \ 'honor pack.packSizeLimit' \