mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +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:
@@ -551,7 +551,7 @@ status=$((status + ret))
|
|||||||
|
|
||||||
# check whether we can use curl for sending test queries.
|
# check whether we can use curl for sending test queries.
|
||||||
if [ -x "${CURL}" ] ; then
|
if [ -x "${CURL}" ] ; then
|
||||||
CURL_HTTP2="$(${CURL} --version | grep '^Features:.* HTTP2\( \|$\)')"
|
CURL_HTTP2="$(${CURL} --version | grep -E '^Features:.* HTTP2( |$)')"
|
||||||
|
|
||||||
if [ -n "$CURL_HTTP2" ]; then
|
if [ -n "$CURL_HTTP2" ]; then
|
||||||
testcurl=1
|
testcurl=1
|
||||||
|
Reference in New Issue
Block a user