]> git.ipfire.org Git - thirdparty/git.git/commit - t/lib-httpd.sh
t/lib-httpd.sh: skip tests if NO_CURL is defined
authorJeff King <peff@peff.net>
Wed, 6 May 2015 17:42:29 +0000 (13:42 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 May 2015 15:26:02 +0000 (08:26 -0700)
commitc9d441a899a96185cff7ca798dcf69af9825c2ff
tree8ad37b7e65747965f29b6cac3b70ad573480646c
parent282616c72d1d08a77ca4fe1186cb708c38408d87
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>
t/lib-httpd.sh
t/t5539-fetch-http-shallow.sh
t/t5541-http-push-smart.sh
t/t5542-push-http-shallow.sh
t/t5550-http-fetch-dumb.sh
t/t5551-http-fetch-smart.sh
t/t5561-http-backend.sh