]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/buildtools: Switch to our webserver instead of example.com
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Feb 2022 17:37:15 +0000 (17:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Feb 2022 17:38:03 +0000 (17:38 +0000)
Similarly to the sanity connectivity check, switch away from example.com
for the buildtools tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdk/buildtools-cases/https.py

index 134879aab32255d3646f521bc2b5b2bcb946f0db..35e549eb4063acff9633110ad23d683cdad9b5f0 100644 (file)
@@ -13,8 +13,8 @@ class HTTPTests(OESDKTestCase):
     """
 
     def test_wget(self):
-        self._run('env -i wget --debug --output-document /dev/null https://www.example.com')
+        self._run('env -i wget --debug --output-document /dev/null https://yoctoproject.org/connectivity.html')
 
     def test_python(self):
         # urlopen() returns a file-like object on success and throws an exception otherwise
-        self._run('python3 -c \'import urllib.request; urllib.request.urlopen("https://www.example.com/")\'')
+        self._run('python3 -c \'import urllib.request; urllib.request.urlopen("https://yoctoproject.org/connectivity.html")\'')