git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] t5540: skip under NO_CURL=NoThanks
@ 2015-05-06 16:58 Junio C Hamano
  2015-05-06 17:32 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Junio C Hamano @ 2015-05-06 16:58 UTC (permalink / raw)
  To: git

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 <gitster@pobox.com>
---
 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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-07 16:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 16:58 [PATCH] t5540: skip under NO_CURL=NoThanks Junio C Hamano
2015-05-06 17:32 ` Jeff King
2015-05-06 17:42   ` Jeff King
2015-05-06 18:49   ` Junio C Hamano
2015-05-07 16:06     ` [PATCH] tests: skip dav http-push tests under NO_EXPAT=NoThanks Junio C Hamano
2015-05-07 16:13       ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).