From 5d18f6be90a940f80c3b7238dc7a8b42a41f55bd Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 16 Dec 2018 21:08:30 +0100 Subject: 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 --- testsuite/bc.tests | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testsuite/bc.tests') diff --git a/testsuite/bc.tests b/testsuite/bc.tests index 36baeea..21b2600 100755 --- a/testsuite/bc.tests +++ b/testsuite/bc.tests @@ -71,6 +71,11 @@ testing "bc while(cond)" \ "8\n7\n6\n5\n4\n3\n2\n1\n9\n" \ "" "i=9;while(--i)\ni\n9" +testing "bc print 1,2,3" \ + "bc" \ + "123" \ + "" "print 1,2,3" + tar xJf bc_large.tar.xz for f in bc*.bc; do -- cgit v1.1