Code

Merge branch 'jc/maint-1.6.0-pack-directory' into maint-1.6.1
[git.git] / t / t5300-pack-object.sh
index 73d871c7133d8cc392bc4ccea93fed4f750b2edf..ccfc64c6eef7e0aba7bd8a8496427470e9020309 100755 (executable)
@@ -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' \