From: Petr Štetiar Date: Thu, 24 Feb 2022 09:02:08 +0000 (+0100) Subject: tests: add certificate check against letsencrypt.org X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dc54d2b544a1cecec9143805529c3016c208d574;p=project%2Fuclient.git tests: add certificate check against letsencrypt.org In order to prevent regressions like #9283, lets add runtime check against letsencrypt.org. References: https://github.com/openwrt/openwrt/issues/9283 References: https://github.com/wolfSSL/wolfssl/issues/4879 Signed-off-by: Petr Štetiar --- diff --git a/tests/cram/test-san_uclient-fetch.t b/tests/cram/test-san_uclient-fetch.t index 3158bde..435659b 100644 --- a/tests/cram/test-san_uclient-fetch.t +++ b/tests/cram/test-san_uclient-fetch.t @@ -65,6 +65,8 @@ check that SSL works: $ uc -q -O /dev/null 'https://www.openwrt.org' + $ uc -q -O /dev/null 'https://letsencrypt.org' + $ uc -O /dev/null 'https://downloads.openwrt.org/does-not-exist' 2>&1 | grep error HTTP error 404 diff --git a/tests/cram/test_uclient-fetch.t b/tests/cram/test_uclient-fetch.t index 4ffe719..e22aa40 100644 --- a/tests/cram/test_uclient-fetch.t +++ b/tests/cram/test_uclient-fetch.t @@ -65,6 +65,8 @@ check that SSL works: $ uc -q -O /dev/null 'https://www.openwrt.org' + $ uc -q -O /dev/null 'https://letsencrypt.org' + $ uc -O /dev/null 'https://downloads.openwrt.org/does-not-exist' 2>&1 | grep error HTTP error 404