t/lib-httpd.sh: skip tests if NO_CURL is defined
[gitweb.git] / t / lib-httpd.sh
index 252cbf163bcff90aabe39a48219e00565f577ffe..872a252d580a8c3a7001f551d08c028f35dcf410 100644 (file)
 # Copyright (c) 2008 Clemens Buchacher <drizzd@aon.at>
 #
 
+if test -n "$NO_CURL"
+then
+       skip_all='skipping test, git built without http support'
+       test_done
+fi
+
 test_tristate GIT_TEST_HTTPD
 if test "$GIT_TEST_HTTPD" = false
 then