2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Merge branch '3101-use-ext-regex-to-check-for-http2-support-in-curl' into 'main'

doth test: use extended reg. expression to check for HTTP/2 support

Closes #3101

See merge request isc-projects/bind9!5733
This commit is contained in:
Artem Boldariev
2022-01-17 17:14:45 +00:00

View File

@@ -551,7 +551,7 @@ status=$((status + ret))
# check whether we can use curl for sending test queries.
if [ -x "${CURL}" ] ; then
CURL_HTTP2="$(${CURL} --version | grep '^Features:.* HTTP2\( \|$\)')"
CURL_HTTP2="$(${CURL} --version | grep -E '^Features:.* HTTP2( |$)')"
if [ -n "$CURL_HTTP2" ]; then
testcurl=1