summaryrefslogtreecommitdiff
path: root/t/t5561-http-backend.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-05-06 17:42:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-05-07 15:26:02 (GMT)
commitc9d441a899a96185cff7ca798dcf69af9825c2ff (patch)
tree8ad37b7e65747965f29b6cac3b70ad573480646c /t/t5561-http-backend.sh
parent282616c72d1d08a77ca4fe1186cb708c38408d87 (diff)
downloadgit-c9d441a899a96185cff7ca798dcf69af9825c2ff.zip
git-c9d441a899a96185cff7ca798dcf69af9825c2ff.tar.gz
git-c9d441a899a96185cff7ca798dcf69af9825c2ff.tar.bz2
t/lib-httpd.sh: skip tests if NO_CURL is defined
If we built git without curl, we can't actually test against an http server. In fact, all of the test scripts which include lib-httpd.sh already perform this check, with one exception: t5540. For those scripts, this is a noop, and for t5540, this is a bugfix (it used to fail when built with NO_CURL, though it could go unnoticed if you had a stale git-remote-https in your build directory). Noticed-by: Junio C Hamano <junio@pobox.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5561-http-backend.sh')
-rwxr-xr-xt/t5561-http-backend.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/t5561-http-backend.sh b/t/t5561-http-backend.sh
index d23fb02..19afe96 100755
--- a/t/t5561-http-backend.sh
+++ b/t/t5561-http-backend.sh
@@ -2,12 +2,6 @@
test_description='test git-http-backend'
. ./test-lib.sh
-
-if test -n "$NO_CURL"; then
- skip_all='skipping test, git built without http support'
- test_done
-fi
-
. "$TEST_DIRECTORY"/lib-httpd.sh
start_httpd