diff options
| author | Petr Štetiar | 2022-02-24 09:02:08 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2022-02-24 09:04:36 +0000 |
| commit | dc54d2b544a1cecec9143805529c3016c208d574 (patch) | |
| tree | 7bf313813c4b678432b447f8a72c0a716e24ffde | |
| parent | 6a6011df3429ffa5958d12b1327eeda4fd9daa47 (diff) | |
| download | uclient-dc54d2b544a1cecec9143805529c3016c208d574.tar.gz | |
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 <ynezz@true.cz>
| -rw-r--r-- | tests/cram/test-san_uclient-fetch.t | 2 | ||||
| -rw-r--r-- | tests/cram/test_uclient-fetch.t | 2 |
2 files changed, 4 insertions, 0 deletions
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 |