mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue