Subject: [PATCH] t5540: skip under NO_CURL=NoThanks

From: Junio C Hamano <[email-masked]>
Date: Wed, 06 May 2015 09:58:06 -0700

All the other tests in t5xxx series that require http support check
NO_CURL and skip the test, but this one forgot to do so.

Signed-off-by: Junio C Hamano <[email-masked]>
---
 t/t5540-http-push-webdav.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/t/t5540-http-push-webdav.sh b/t/t5540-http-push-webdav.sh
index 8d7b3c5..e6aec36 100755
--- a/t/t5540-http-push-webdav.sh
+++ b/t/t5540-http-push-webdav.sh
@@ -9,6 +9,12 @@ This test runs various sanity checks on http-push.'
 
 . ./test-lib.sh
 
+if test -n "$NO_CURL"
+then
+	skip_all='skipping test, git built without http support'
+	test_done
+fi
+
 if git http-push > /dev/null 2>&1 || [ $? -eq 128 ]
 then
 	skip_all="skipping test, USE_CURL_MULTI is not defined"
-- 
2.4.0-312-gc04835c