t5561: skip tests if curl is not available
[gitweb.git] / t / t5561-http-backend.sh
index 6167563986b22b08cc13fbacc5546711a4b0d862..84a955770a017e68d0cc1e928929e5a043d64e86 100755 (executable)
@@ -3,6 +3,12 @@
 test_description='test git-http-backend'
 . ./test-lib.sh
 . "$TEST_DIRECTORY"/lib-httpd.sh
+
+if ! test_have_prereq CURL; then
+       skip_all='skipping raw http-backend tests, curl not available'
+       test_done
+fi
+
 start_httpd
 
 GET() {