diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2019-04-17 11:18:51 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-23 23:30:20 +0100 |
| commit | b765109769d61704a9e9dafb238e126d6e0a4df8 (patch) | |
| tree | 975abe23c504c29adeb2a1d41e9e0ead944d4af2 | |
| parent | 66ecad10aea3b8b1e66ecbb495be6142aa638371 (diff) | |
| download | poky-b765109769d61704a9e9dafb238e126d6e0a4df8.tar.gz | |
busybox: fix ptest failure about 'dc'
Fix the following two failure of busybox ptest:
FAIL: dc read
FAIL: dc read string
These two test cases relies on the functionalities enabled by
CONFIG_FEATURE_DC_BIG.
(From OE-Core rev: 7880a7102dea7ab928790d3f571f293ea993af2d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/busybox/busybox/0001-dc.tests-fix-two-test-case-to-also-depend-on-DC_BIG.patch | 39 | ||||
| -rw-r--r-- | meta/recipes-core/busybox/busybox_1.30.1.bb | 1 |
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/0001-dc.tests-fix-two-test-case-to-also-depend-on-DC_BIG.patch b/meta/recipes-core/busybox/busybox/0001-dc.tests-fix-two-test-case-to-also-depend-on-DC_BIG.patch new file mode 100644 index 0000000000..d22db4a663 --- /dev/null +++ b/meta/recipes-core/busybox/busybox/0001-dc.tests-fix-two-test-case-to-also-depend-on-DC_BIG.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | From a4e03fbb4d82f91069d96005405f89c45b8fd157 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
| 3 | Date: Wed, 17 Apr 2019 09:24:37 +0800 | ||
| 4 | Subject: [PATCH] dc.tests: fix two test case to also depend on DC_BIG | ||
| 5 | |||
| 6 | Upstream-Status: Submitted [http://lists.busybox.net/pipermail/busybox/2019-April/087205.html] | ||
| 7 | |||
| 8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
| 9 | --- | ||
| 10 | testsuite/dc.tests | 6 +++--- | ||
| 11 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/testsuite/dc.tests b/testsuite/dc.tests | ||
| 14 | index 1708a48..8c3af41 100755 | ||
| 15 | --- a/testsuite/dc.tests | ||
| 16 | +++ b/testsuite/dc.tests | ||
| 17 | @@ -41,6 +41,9 @@ testing "dc complex without spaces (multiple args)" \ | ||
| 18 | "16\n" \ | ||
| 19 | "" "" | ||
| 20 | |||
| 21 | +optional FEATURE_DC_BIG | ||
| 22 | +# All tests below depend on FEATURE_DC_BIG | ||
| 23 | + | ||
| 24 | testing "dc read" \ | ||
| 25 | "dc -finput" \ | ||
| 26 | "2\n9\n1\n" \ | ||
| 27 | @@ -51,9 +54,6 @@ testing "dc read string" \ | ||
| 28 | "2\nstr\n1\n" \ | ||
| 29 | "1?2\nf" "[str]\n" | ||
| 30 | |||
| 31 | -optional FEATURE_DC_BIG | ||
| 32 | -# All tests below depend on FEATURE_DC_BIG | ||
| 33 | - | ||
| 34 | testing "dc '>a' (conditional execute string) 1" \ | ||
| 35 | "dc" \ | ||
| 36 | "1\n9\n" \ | ||
| 37 | -- | ||
| 38 | 2.7.4 | ||
| 39 | |||
diff --git a/meta/recipes-core/busybox/busybox_1.30.1.bb b/meta/recipes-core/busybox/busybox_1.30.1.bb index 164f3ab3c3..ba76755d74 100644 --- a/meta/recipes-core/busybox/busybox_1.30.1.bb +++ b/meta/recipes-core/busybox/busybox_1.30.1.bb | |||
| @@ -44,6 +44,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | |||
| 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 | file://0001-testsuite-use-www.example.org-for-wget-test-cases.patch \ |
| 46 | file://0001-du-l-works-fix-to-use-145-instead-of-144.patch \ | 46 | file://0001-du-l-works-fix-to-use-145-instead-of-144.patch \ |
| 47 | file://0001-dc.tests-fix-two-test-case-to-also-depend-on-DC_BIG.patch \ | ||
| 47 | " | 48 | " |
| 48 | SRC_URI_append_libc-musl = " file://musl.cfg " | 49 | SRC_URI_append_libc-musl = " file://musl.cfg " |
| 49 | 50 | ||
