X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4012-diff-binary.sh;h=2d9f9a0cf1555cab24af19f264d495e134c27352;hb=2b380d81917cb4205a0c13224086fdd9268d5b71;hp=bc46563afc607e6fba9acbd2773d88207c878981;hpb=03f94ae9f909952ed5a78917ab319a312889354b;p=git.git diff --git a/t/t4012-diff-binary.sh b/t/t4012-diff-binary.sh index bc46563af..2d9f9a0cf 100755 --- a/t/t4012-diff-binary.sh +++ b/t/t4012-diff-binary.sh @@ -12,7 +12,7 @@ test_expect_success 'prepare repository' \ 'echo AIT >a && echo BIT >b && echo CIT >c && echo DIT >d && git update-index --add a b c d && echo git >a && - cat "$TEST_DIRECTORY"/test4012.png >b && + cat "$TEST_DIRECTORY"/test-binary-1.png >b && echo git >c && cat b b >d' @@ -77,10 +77,6 @@ test_expect_success 'apply binary patch' \ tree1=`git write-tree` && test "$tree1" = "$tree0"' -nul_to_q() { - perl -pe 'y/\000/Q/' -} - test_expect_success 'diff --no-index with binary creation' ' echo Q | q_to_nul >binary && (: hide error code from diff, which just indicates differences