From: Mike Hommey Date: Mon, 7 Jul 2008 19:02:50 +0000 (+0200) Subject: Skip t5540-http-push test when USE_CURL_MULTI is undefined X-Git-Tag: v1.6.0-rc0~105 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/960862628256ca3272939db7973b030c2b6ba548?ds=inline;hp=--cc Skip t5540-http-push test when USE_CURL_MULTI is undefined When USE_CURL_MULTI is undefined, git http-push doesn't work, so it's useless to test it. Signed-off-by: Mike Hommey Signed-off-by: Junio C Hamano --- 960862628256ca3272939db7973b030c2b6ba548 diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh index ee63945c99..21dbb557b7 100755 --- a/t/t5540-http-push.sh +++ b/t/t5540-http-push.sh @@ -12,6 +12,13 @@ This test runs various sanity checks on http-push.' ROOT_PATH="$PWD" LIB_HTTPD_DAV=t +if git http-push > /dev/null 2>&1 || [ $? -eq 128 ] +then + say "skipping test, USE_CURL_MULTI is not defined" + test_done + exit +fi + . ../lib-httpd.sh if ! start_httpd >&3 2>&4