Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 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 | |