From 0ede5f550366208e9cfc653be49c534b9a612e4a Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 11 Jun 2010 18:49:06 +0200 Subject: [PATCH] Tests: make sure that $DIFF is non-empty Signed-off-by: Johannes Schindelin --- t/test-lib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/test-lib.sh b/t/test-lib.sh index 1349a989ee..fb8fbd8d70 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -837,6 +837,8 @@ export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_CONFIG_NOGLOB . ../GIT-BUILD-OPTIONS +DIFF="${DIFF:-diff}" + if test -z "$GIT_TEST_CMP" then if test -n "$GIT_TEST_CMP_USE_COPIED_CONTEXT"