X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5300-pack-object.sh;h=ccfc64c6eef7e0aba7bd8a8496427470e9020309;hb=2990034f1ed2c3d85d23d5611a1f04d317f785ac;hp=73d871c7133d8cc392bc4ccea93fed4f750b2edf;hpb=2c626e5fa8a46f647b88fb32d7b28d573e8631bf;p=git.git diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index 73d871c71..ccfc64c6e 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -289,7 +289,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' \