diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-04 05:41:47 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-02-14 14:40:57 +0100 |
commit | d2651fb775df3a81058d3b39baf2431083da179f (patch) | |
tree | ff58abe62ba37c34e8ea1e8993f3625a520d0c36 /testsuite | |
parent | fb001145e1a7363a40a69592e0c1426dd24eb84f (diff) | |
download | busybox-w32-d2651fb775df3a81058d3b39baf2431083da179f.tar.gz busybox-w32-d2651fb775df3a81058d3b39baf2431083da179f.tar.bz2 busybox-w32-d2651fb775df3a81058d3b39baf2431083da179f.zip |
dc: fix '?'
function old new delta
zdc_parse_expr 470 479 +9
zxc_vm_process 839 814 -25
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 9/-25) Total: -16 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/dc.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/dc.tests b/testsuite/dc.tests index 29b413cad..87b1e71c3 100755 --- a/testsuite/dc.tests +++ b/testsuite/dc.tests | |||
@@ -41,6 +41,11 @@ testing "dc complex without spaces (multiple args)" \ | |||
41 | "16\n" \ | 41 | "16\n" \ |
42 | "" "" | 42 | "" "" |
43 | 43 | ||
44 | testing "dc read" \ | ||
45 | "dc -finput" \ | ||
46 | "2\n9\n1\n" \ | ||
47 | "1?2\nf" "9\n" | ||
48 | |||
44 | optional FEATURE_DC_BIG | 49 | optional FEATURE_DC_BIG |
45 | # All tests below depend on FEATURE_DC_BIG | 50 | # All tests below depend on FEATURE_DC_BIG |
46 | 51 | ||