Merge namecoin/ncdns#176: Cirrus: Add curl test

6c9ccfa260 Cirrus: Add curl test (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: f7820f725108ee307ee44bb292ba139c1e0b9dcfcadcb304ff2d666efaf3f3f0fa2aed48c6662136ffdfcd4fb1ade154087938fcef03bd7cad205241976d9e99
pull/177/head
Jeremy Rand 1 year ago
commit 2a78bf2abb
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -87,3 +87,6 @@ echo "$dig_output"
echo "Checking response correctness"
tlsa_hex="$(echo 'MDkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDIgADvxHcjwDYMNfUSTtSIn3VbBC1sOzh/1Fv5T0UzEuLWIE=' | base64 --decode | xxd -u -ps -c 500)"
echo "$dig_output" | sed 's/ //g' | grep "$tlsa_hex"
echo "Fetch testls.bit via curl"
curl --insecure https://testls.bit/ | grep -i "Cool or nah"

Loading…
Cancel
Save