Tests: make sure that $DIFF is non-empty

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2010-06-11 18:49:06 +02:00
parent 6d48fc0ea9
commit f48154a75a

View File

@@ -76,6 +76,8 @@ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
export EDITOR
DIFF="${DIFF:-diff}"
if test -z "$GIT_TEST_CMP"
then
if test -n "$GIT_TEST_CMP_USE_COPIED_CONTEXT"