From dc54d2b544a1cecec9143805529c3016c208d574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Thu, 24 Feb 2022 10:02:08 +0100 Subject: tests: add certificate check against letsencrypt.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/cram/test-san_uclient-fetch.t | 2 ++ tests/cram/test_uclient-fetch.t | 2 ++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.1