summaryrefslogtreecommitdiff
path: root/testsuite/bc.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2018-12-31 19:42:13 +0100
committerDenys Vlasenko2018-12-31 19:42:13 +0100
commit680ccd357395ad081afe821ffbeef1ff338fe41d (patch)
treeb6c8622f8f221c5691346fe9ec4ff31ecbc74d8d /testsuite/bc.tests
parent2747f6195b94db6c1adf2eae243df5c0a01d39f2 (diff)
downloadbusybox-680ccd357395ad081afe821ffbeef1ff338fe41d.zip
busybox-680ccd357395ad081afe821ffbeef1ff338fe41d.tar.gz
bc: support ibase up to 36 (GNU compat)
function old new delta zxc_program_num 995 1018 +23 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/bc.tests')
-rwxr-xr-xtestsuite/bc.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index 3fbb499..1d45455 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -218,6 +218,11 @@ for(i=1; i<3; i++) {
99
"
+testing "bc ibase" \
+ "bc" \
+ "99\n1295\n1224\n" \
+ "" "a=ZZ;a;ibase=36;a=ZZ;a;ibase=Z;a=ZZ;a"
+
tar xJf bc_large.tar.xz
for f in bc*.bc; do