summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko2019-01-04 06:18:00 +0100
committerDenys Vlasenko2019-02-14 14:40:57 +0100
commitc7679c759a1f90b96fa31bdbdd94cf62e0ae344e (patch)
tree3f39a43ceed0b20d98ad3e595fa7e7ce4c1f0aed /testsuite
parentd2651fb775df3a81058d3b39baf2431083da179f (diff)
downloadbusybox-c7679c759a1f90b96fa31bdbdd94cf62e0ae344e.zip
busybox-c7679c759a1f90b96fa31bdbdd94cf62e0ae344e.tar.gz
dc: fit returning of string
function old new delta zxc_program_exec 4087 4098 +11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/dc.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/dc.tests b/testsuite/dc.tests
index 87b1e71..1708a48 100755
--- a/testsuite/dc.tests
+++ b/testsuite/dc.tests
@@ -46,6 +46,11 @@ testing "dc read" \
"2\n9\n1\n" \
"1?2\nf" "9\n"
+testing "dc read string" \
+ "dc -finput" \
+ "2\nstr\n1\n" \
+ "1?2\nf" "[str]\n"
+
optional FEATURE_DC_BIG
# All tests below depend on FEATURE_DC_BIG