git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t5540: skip under NO_CURL=NoThanks

From
Junio C Hamano <junio@pobox.com>
Date
May 6, 2015, 16:58 UTC
Message-ID
<xmqq6185d4o1.fsf@gitster.dls.corp.google.com>

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
Next: Jeff King
Message 1 of 6 in “t5540: skip under NO_CURL=NoThanks”
  1. t5540: skip under NO_CURL=NoThanksJunio C Hamano, May 6, 2015
  2. Jeff KingMay 6, 2015
  3. Jeff KingMay 6, 2015
  4. Junio C HamanoMay 6, 2015
  5. Junio C HamanoMay 7, 2015
  6. Jeff KingMay 7, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.