@matheusbsbs / matheus-bagliano / commits / cff484a98b
Fork 0

lib-git-svn.sh: Add check for mis-configured web server variables

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed Dec 14, 2010 at 18:25 UTC cff484a98baf57f11daed62744bcf0774bd78c2f
1 file changed +10
t/lib-git-svn.sh
+10
@@ -81,6 +81,11 @@ then
81 break
82 fi
83 done
84 + if test -z "$SVN_HTTPD_PATH"
85 + then
86 + skip_all='skipping git svn tests, Apache not found'
87 + test_done
88 + fi
89 for d in \
90 "$SVN_HTTPD_MODULE_PATH" \
91 /usr/lib/apache2/modules \
@@ -92,6 +97,11 @@ then
97 break
98 fi
99 done
100 + if test -z "$SVN_HTTPD_MODULE_PATH"
101 + then
102 + skip_all='skipping git svn tests, Apache module dir not found'
103 + test_done
104 + fi
105 fi
106
107 start_httpd () {