diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-16 21:08:30 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-16 21:08:30 +0100 |
commit | 5d18f6be90a940f80c3b7238dc7a8b42a41f55bd (patch) | |
tree | 9e1bb7f45a3ba0aa834d4a27e62cf5ab0a3d55ff /testsuite | |
parent | cb18b546f7ee9d1c9315c7357ab620e55f0fa8f3 (diff) | |
download | busybox-w32-5d18f6be90a940f80c3b7238dc7a8b42a41f55bd.tar.gz busybox-w32-5d18f6be90a940f80c3b7238dc7a8b42a41f55bd.tar.bz2 busybox-w32-5d18f6be90a940f80c3b7238dc7a8b42a41f55bd.zip |
bc: fix "print 1,2,3" parsing
function old new delta
zbc_parse_stmt_possibly_auto 2245 2180 -65
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-65) Total: -65 bytes
text data bss dec hex filename
982237 485 7296 990018 f1b42 busybox_old
982152 485 7296 989933 f1aed busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/bc.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests index 36baeea89..21b26008f 100755 --- a/testsuite/bc.tests +++ b/testsuite/bc.tests | |||
@@ -71,6 +71,11 @@ testing "bc while(cond)<NL>" \ | |||
71 | "8\n7\n6\n5\n4\n3\n2\n1\n9\n" \ | 71 | "8\n7\n6\n5\n4\n3\n2\n1\n9\n" \ |
72 | "" "i=9;while(--i)\ni\n9" | 72 | "" "i=9;while(--i)\ni\n9" |
73 | 73 | ||
74 | testing "bc print 1,2,3" \ | ||
75 | "bc" \ | ||
76 | "123" \ | ||
77 | "" "print 1,2,3" | ||
78 | |||
74 | tar xJf bc_large.tar.xz | 79 | tar xJf bc_large.tar.xz |
75 | 80 | ||
76 | for f in bc*.bc; do | 81 | for f in bc*.bc; do |