aboutsummaryrefslogtreecommitdiff
path: root/t/lib-httpd.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-07 09:06:14 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-07 09:48:43 -0700
commit309a9e33731a56487944dbaa00073f8ee05c9f70 (patch)
tree8022cf012bc1a8b5e1406b13277aa53ffbe6bbaf /t/lib-httpd.sh
parentc9d441a899a96185cff7ca798dcf69af9825c2ff (diff)
downloadgit-309a9e33731a56487944dbaa00073f8ee05c9f70.tar.gz
git-309a9e33731a56487944dbaa00073f8ee05c9f70.tar.xz
tests: skip dav http-push tests under NO_EXPAT=NoThanks
When built with NO_EXPAT=NoThanks, we will not have a working http-push over webdav. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd.sh')
-rw-r--r--t/lib-httpd.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
index 872a252d5..d823664c5 100644
--- a/t/lib-httpd.sh
+++ b/t/lib-httpd.sh
@@ -36,6 +36,12 @@ then
test_done
fi
+if test -n "$NO_EXPAT" && test -n "$LIB_HTTPD_DAV"
+then
+ skip_all='skipping test, git built without expat support'
+ test_done
+fi
+
test_tristate GIT_TEST_HTTPD
if test "$GIT_TEST_HTTPD" = false
then