diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh
index ee63945c996b3e82b23b1c18365fe5b275ed6dbe..f8c17cd96cc86ca8f2db2ff51467f712d65f8956 100755 (executable)
--- a/t/t5540-http-push.sh
+++ b/t/t5540-http-push.sh
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
git push origin :dev &&
git branch -d -r origin/dev &&
git fetch &&
- ! git show-ref --verify refs/remotes/origin/dev
+ test_must_fail git show-ref --verify refs/remotes/origin/dev
'
stop_httpd