From bf458f5c59afd12abb5393b6aa14e47fc8d302aa 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 2af8f10c83..0e83b410c7 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -870,6 +870,8 @@ export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_CONFIG_NOGLOB . "$GIT_BUILD_DIR"/GIT-BUILD-OPTIONS +DIFF="${DIFF:-diff}" + if test -z "$GIT_TEST_CMP" then if test -n "$GIT_TEST_CMP_USE_COPIED_CONTEXT" -- 2.11.4.GIT