t7004: ship trustdb to avoid gpg warnings
[gitweb.git] / t / t6023-merge-file.sh
index c76fccfb5a0811aca3bb5af67f8558745935148f..ecc11c1a8448d7a5825e8ade7d7aaa7c43efef9f 100755 (executable)
@@ -134,5 +134,9 @@ EOF
 
 test_expect_success "expected conflict markers" "git diff expect out"
 
-test_done
+test_expect_success 'binary files cannot be merged' '
+       ! git merge-file -p orig.txt ../test4012.png new1.txt 2> merge.err &&
+       grep "Cannot merge binary files" merge.err
+'
 
+test_done