blob: d22db4a6637a929b42c5a66619e8acff0f2c9dcc [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001From a4e03fbb4d82f91069d96005405f89c45b8fd157 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 17 Apr 2019 09:24:37 +0800
4Subject: [PATCH] dc.tests: fix two test case to also depend on DC_BIG
5
6Upstream-Status: Submitted [http://lists.busybox.net/pipermail/busybox/2019-April/087205.html]
7
8Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9---
10 testsuite/dc.tests | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13diff --git a/testsuite/dc.tests b/testsuite/dc.tests
14index 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--
382.7.4
39