From: Carlo Marcelo Arenas Belón Date: Mon, 19 Nov 2018 10:15:35 GMT Subject: [PATCH] t5562: skip if NO_CURL is enabled Message-ID: <20181119101535.16538-1-carenas@gmail.com> 6c213e863a ("http-backend: respect CONTENT_LENGTH for receive-pack", 2018-07-27) introduced all tests but without a check for CURL support from git. Signed-off-by: Carlo Marcelo Arenas Belón --- t/t5562-http-backend-content-length.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/t5562-http-backend-content-length.sh b/t/t5562-http-backend-content-length.sh index b24d8b05a4..7594899471 100755 --- a/t/t5562-http-backend-content-length.sh +++ b/t/t5562-http-backend-content-length.sh @@ -3,6 +3,12 @@ test_description='test git-http-backend respects CONTENT_LENGTH' . ./test-lib.sh +if test -n "$NO_CURL" +then + skip_all='skipping test, git built without http support' + test_done +fi + test_lazy_prereq GZIP 'gzip --version' verify_http_result() { -- 2.20.0.rc0