tests: add certificate check against letsencrypt.org
authorPetr Štetiar <ynezz@true.cz>
Thu, 24 Feb 2022 09:02:08 +0000 (10:02 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 24 Feb 2022 09:04:36 +0000 (10:04 +0100)
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>
tests/cram/test-san_uclient-fetch.t
tests/cram/test_uclient-fetch.t

index 3158bdeadc626965fab3d544d93a03b9c42fb122..435659b6d053625b3441a33be3ddcb81df7ceae5 100644 (file)
@@ -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
 
index 4ffe71901dcde73d36f3b111148ec3dac8479534..e22aa408f479032ef678aeedf23087143f0c947a 100644 (file)
@@ -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