aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-27 22:52:13 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-28 13:32:04 +0100
commit1476760600eff7c51c78b0ba02f1b08558178289 (patch)
tree3aa056f2a76b1e2c2319b62349c09db05a5661d7 /testsuite
parent83e7e13628686c3b11ef14dec94fae169ee08c43 (diff)
downloadbusybox-w32-1476760600eff7c51c78b0ba02f1b08558178289.tar.gz
busybox-w32-1476760600eff7c51c78b0ba02f1b08558178289.tar.bz2
busybox-w32-1476760600eff7c51c78b0ba02f1b08558178289.zip
bc: rename config options
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/dc.tests3
-rwxr-xr-xtestsuite/head.tests2
-rwxr-xr-xtestsuite/unzip.tests4
3 files changed, 7 insertions, 2 deletions
diff --git a/testsuite/dc.tests b/testsuite/dc.tests
index 2756608f7..29b413cad 100755
--- a/testsuite/dc.tests
+++ b/testsuite/dc.tests
@@ -41,6 +41,9 @@ testing "dc complex without spaces (multiple args)" \
41 "16\n" \ 41 "16\n" \
42 "" "" 42 "" ""
43 43
44optional FEATURE_DC_BIG
45# All tests below depend on FEATURE_DC_BIG
46
44testing "dc '>a' (conditional execute string) 1" \ 47testing "dc '>a' (conditional execute string) 1" \
45 "dc" \ 48 "dc" \
46 "1\n9\n" \ 49 "1\n9\n" \
diff --git a/testsuite/head.tests b/testsuite/head.tests
index 50660d267..97bf889d8 100755
--- a/testsuite/head.tests
+++ b/testsuite/head.tests
@@ -31,10 +31,12 @@ testing "head -n <positive number>" \
31 "line 1\nline 2\n" \ 31 "line 1\nline 2\n" \
32 "" "" 32 "" ""
33 33
34optional FEATURE_FANCY_HEAD
34testing "head -n <negative number>" \ 35testing "head -n <negative number>" \
35 "head -n -9 head.input" \ 36 "head -n -9 head.input" \
36 "line 1\nline 2\nline 3\n" \ 37 "line 1\nline 2\nline 3\n" \
37 "" "" 38 "" ""
39SKIP=
38 40
39rm head.input 41rm head.input
40 42
diff --git a/testsuite/unzip.tests b/testsuite/unzip.tests
index af53de9df..e198dfc4b 100755
--- a/testsuite/unzip.tests
+++ b/testsuite/unzip.tests
@@ -31,10 +31,10 @@ rmdir foo
31rm foo.zip 31rm foo.zip
32 32
33# File containing some damaged encrypted stream 33# File containing some damaged encrypted stream
34optional FEATURE_UNZIP_CDF 34optional FEATURE_UNZIP_CDF CONFIG_UNICODE_SUPPORT
35testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \ 35testing "unzip (bad archive)" "uudecode; unzip bad.zip 2>&1; echo \$?" \
36"Archive: bad.zip 36"Archive: bad.zip
37 inflating: ]3j½r«IK-%Ix 37 inflating: ]3j½r«I??K-%Ix
38unzip: corrupted data 38unzip: corrupted data
39unzip: inflate error 39unzip: inflate error
401 401