From 4e424f2a23e8ca3c865a2d4672171bcd3c099295 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 a64d60831d..10bca8574b 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -779,6 +779,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"