mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +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:
commit
55a0d0880a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user