diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-12 17:37:15 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-24 11:12:39 +0000 |
| commit | 1c865e6646ce3e72730d7b1d85033607402d082a (patch) | |
| tree | 65e8e02246229f9fd2f05c9defa70067df52c7ce | |
| parent | 6b3103a8674c85ad4a306fd416acaf523a1454d7 (diff) | |
| download | poky-1c865e6646ce3e72730d7b1d85033607402d082a.tar.gz | |
oeqa/buildtools: Switch to our webserver instead of example.com
Similarly to the sanity connectivity check, switch away from example.com
for the buildtools tests.
(From OE-Core rev: 31a415d1ddd5201dbce717c3a6508868161608a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed10f3c2b4c678069fe1cee73f79f6e388c7777e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/sdk/buildtools-cases/https.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/buildtools-cases/https.py b/meta/lib/oeqa/sdk/buildtools-cases/https.py index 134879aab3..35e549eb40 100644 --- a/meta/lib/oeqa/sdk/buildtools-cases/https.py +++ b/meta/lib/oeqa/sdk/buildtools-cases/https.py | |||
| @@ -13,8 +13,8 @@ class HTTPTests(OESDKTestCase): | |||
| 13 | """ | 13 | """ |
| 14 | 14 | ||
| 15 | def test_wget(self): | 15 | def test_wget(self): |
| 16 | self._run('env -i wget --debug --output-document /dev/null https://www.example.com') | 16 | self._run('env -i wget --debug --output-document /dev/null https://yoctoproject.org/connectivity.html') |
| 17 | 17 | ||
| 18 | def test_python(self): | 18 | def test_python(self): |
| 19 | # urlopen() returns a file-like object on success and throws an exception otherwise | 19 | # urlopen() returns a file-like object on success and throws an exception otherwise |
| 20 | self._run('python3 -c \'import urllib.request; urllib.request.urlopen("https://www.example.com/")\'') | 20 | self._run('python3 -c \'import urllib.request; urllib.request.urlopen("https://yoctoproject.org/connectivity.html")\'') |
