Skip to content

Commit 3edea72

Browse files
committed
Tests: handle offsite URLs that use HTTP/2 with recent versions of curl
1 parent 62ec959 commit 3edea72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/qa/test-binary-availability.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ do
2525
curl -sI "https://bitcoincore.org${url}"
2626
else
2727
curl -sI "$url"
28-
fi | grep -q '200 OK' || echo "Error: Could not retrieve $url"
28+
fi | egrep -q '(200 OK|HTTP/2 200)' || echo "Error: Could not retrieve $url"
2929
done | if grep . ; then sed 1iERROR ; false ; else true ; fi

0 commit comments

Comments
 (0)