Home | History | Annotate | Download | only in statschannel

Lines Matching refs:CURL

175 if $FEATURETEST --have-libxml2 && [ -x "${CURL}" ]; then
177 ${CURL} --silent --show-error --fail --output bind9.xsl.1 $URL
180 echo_i "skipping test: requires libxml2 and curl"
247 if [ -x "${CURL}" ]; then
257 "${CURL}" -D regular.headers "$URL" 2>/dev/null \
259 "${CURL}" -D compressed.headers --compressed "$URL" 2>/dev/null \
270 echo_i "skipping test as curl not found"
603 if [ -x "${CURL}" ] && ! ("${CURL}" --next 2>&1 | grep 'option --next: is unknown'); then
604 CURL_NEXT="${CURL}"
621 "${CURL}" --silent --include --get "$URL" --next --get --header @header.in$n "$URL" >curl.out$n && ret=1
623 lines=$(grep -c "^<statistics version" curl.out$n)
626 echo_i "skipping test as curl with --next support not found"
638 # curl 8.13 and newer rejects to read line larger than 100KB
647 "${CURL}" --silent --include --get "$URL" --next --get --header @header.in$n "$URL" >curl.out$n && ret=1
649 lines=$(grep -c "^<statistics version" curl.out$n)
652 echo_i "skipping test as curl with --next support not found"
661 if [ -x "${CURL}" ]; then
663 "${CURL}" --silent --include --header "Accept-Encoding: deflate, gzip, br, zstd" "$URL" "$URL" "$URL" "$URL" "$URL" "$URL" "$URL" "$URL" "$URL" "$URL" >curl.out$n || ret=1
664 grep -a Content-Length curl.out$n | awk 'BEGIN { prev=0; } { if (prev != 0 && $2 - prev > 100) { exit(1); } prev = $2; }' || ret=1
666 echo_i "skipping test as curl not found"
674 if $FEATURETEST --have-libxml2 && [ -x "${CURL}" ]; then
677 ${CURL} --silent --show-error --fail --output bind9.xsl.2 $URL \
680 || ! ${CURL} --silent --show-error --fail \
687 echo_i "skipping test: requires libxml2 and curl"