From cff484a98baf57f11daed62744bcf0774bd78c2f Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Tue, 14 Dec 2010 18:25:11 +0000 Subject: [PATCH] lib-git-svn.sh: Add check for mis-configured web server variables Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- t/lib-git-svn.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh index 919d45a7d4..6a9d975723 100644 --- a/t/lib-git-svn.sh +++ b/t/lib-git-svn.sh @@ -81,6 +81,11 @@ then break fi done + if test -z "$SVN_HTTPD_PATH" + then + skip_all='skipping git svn tests, Apache not found' + test_done + fi for d in \ "$SVN_HTTPD_MODULE_PATH" \ /usr/lib/apache2/modules \ @@ -92,6 +97,11 @@ then break fi done + if test -z "$SVN_HTTPD_MODULE_PATH" + then + skip_all='skipping git svn tests, Apache module dir not found' + test_done + fi fi start_httpd () { -- 2.11.4.GIT