diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-11-23 10:16:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-23 23:35:19 +0000 |
commit | 34ea70924f6a99286bd99d8bca1700ba7fc555cd (patch) | |
tree | 8ee285a6bd57e59e594a28a82b414f9a9d2f03ce /meta/recipes-core | |
parent | e9d3c569aaa61ade41fc6931f1e5c04eb1da53e8 (diff) | |
download | poky-34ea70924f6a99286bd99d8bca1700ba7fc555cd.tar.gz |
busybox: use example.org instead of google.com in wget test case
Use example.org to ensure it's always reachible.
(From OE-Core rev: 914960f06f035b82834e4b5313f7d3a5879220ae)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/busybox/busybox/0001-testsuite-use-www.example.org-for-wget-test-cases.patch | 62 | ||||
-rw-r--r-- | meta/recipes-core/busybox/busybox_1.29.2.bb | 1 |
2 files changed, 63 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/0001-testsuite-use-www.example.org-for-wget-test-cases.patch b/meta/recipes-core/busybox/busybox/0001-testsuite-use-www.example.org-for-wget-test-cases.patch new file mode 100644 index 0000000000..7ba0f77fa2 --- /dev/null +++ b/meta/recipes-core/busybox/busybox/0001-testsuite-use-www.example.org-for-wget-test-cases.patch | |||
@@ -0,0 +1,62 @@ | |||
1 | From 03acf460990dfcf6e52b298301b348b9504460a8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Tue, 13 Nov 2018 13:51:42 +0800 | ||
4 | Subject: [PATCH] testsuite: use www.example.org for wget test cases | ||
5 | |||
6 | Use example.org instead of google.com to make sure it's | ||
7 | always reachible. | ||
8 | |||
9 | Upstream-Status: Submitted [http://lists.busybox.net/pipermail/busybox/2018-November/086835.html] | ||
10 | |||
11 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
12 | --- | ||
13 | testsuite/wget/wget--O-overrides--P | 2 +- | ||
14 | testsuite/wget/wget-handles-empty-path | 2 +- | ||
15 | testsuite/wget/wget-retrieves-google-index | 2 +- | ||
16 | testsuite/wget/wget-supports--P | 2 +- | ||
17 | 4 files changed, 4 insertions(+), 4 deletions(-) | ||
18 | |||
19 | diff --git a/testsuite/wget/wget--O-overrides--P b/testsuite/wget/wget--O-overrides--P | ||
20 | index 40a3a96..490d743 100644 | ||
21 | --- a/testsuite/wget/wget--O-overrides--P | ||
22 | +++ b/testsuite/wget/wget--O-overrides--P | ||
23 | @@ -1,5 +1,5 @@ | ||
24 | test x"$SKIP_INTERNET_TESTS" != x"" && exit | ||
25 | |||
26 | mkdir foo | ||
27 | -busybox wget -q -O index.html -P foo http://www.google.com/ | ||
28 | +busybox wget -q -O index.html -P foo http://www.example.org/ | ||
29 | test -s index.html | ||
30 | diff --git a/testsuite/wget/wget-handles-empty-path b/testsuite/wget/wget-handles-empty-path | ||
31 | index 01d60bd..1802db6 100644 | ||
32 | --- a/testsuite/wget/wget-handles-empty-path | ||
33 | +++ b/testsuite/wget/wget-handles-empty-path | ||
34 | @@ -1,3 +1,3 @@ | ||
35 | test x"$SKIP_INTERNET_TESTS" != x"" && exit | ||
36 | |||
37 | -busybox wget http://www.google.com | ||
38 | +busybox wget http://www.example.org | ||
39 | diff --git a/testsuite/wget/wget-retrieves-google-index b/testsuite/wget/wget-retrieves-google-index | ||
40 | index f9dbb8b..fc801d4 100644 | ||
41 | --- a/testsuite/wget/wget-retrieves-google-index | ||
42 | +++ b/testsuite/wget/wget-retrieves-google-index | ||
43 | @@ -1,4 +1,4 @@ | ||
44 | test x"$SKIP_INTERNET_TESTS" != x"" && exit | ||
45 | |||
46 | -busybox wget -q -O foo http://www.google.com/ | ||
47 | +busybox wget -q -O foo http://www.example.org/ | ||
48 | test -s foo | ||
49 | diff --git a/testsuite/wget/wget-supports--P b/testsuite/wget/wget-supports--P | ||
50 | index bfe4ac4..4ff2fe0 100644 | ||
51 | --- a/testsuite/wget/wget-supports--P | ||
52 | +++ b/testsuite/wget/wget-supports--P | ||
53 | @@ -1,5 +1,5 @@ | ||
54 | test x"$SKIP_INTERNET_TESTS" != x"" && exit | ||
55 | |||
56 | mkdir foo | ||
57 | -busybox wget -q -P foo http://www.google.com/ | ||
58 | +busybox wget -q -P foo http://www.example.org/ | ||
59 | test -s foo/index.html | ||
60 | -- | ||
61 | 2.7.4 | ||
62 | |||
diff --git a/meta/recipes-core/busybox/busybox_1.29.2.bb b/meta/recipes-core/busybox/busybox_1.29.2.bb index a63fa8213b..98767f0708 100644 --- a/meta/recipes-core/busybox/busybox_1.29.2.bb +++ b/meta/recipes-core/busybox/busybox_1.29.2.bb | |||
@@ -42,6 +42,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | |||
42 | file://rcK \ | 42 | file://rcK \ |
43 | file://makefile-libbb-race.patch \ | 43 | file://makefile-libbb-race.patch \ |
44 | file://0001-testsuite-check-uudecode-before-using-it.patch \ | 44 | file://0001-testsuite-check-uudecode-before-using-it.patch \ |
45 | file://0001-testsuite-use-www.example.org-for-wget-test-cases.patch \ | ||
45 | " | 46 | " |
46 | SRC_URI_append_libc-musl = " file://musl.cfg " | 47 | SRC_URI_append_libc-musl = " file://musl.cfg " |
47 | 48 | ||