summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko2018-12-31 19:42:13 +0100
committerDenys Vlasenko2019-02-14 14:40:57 +0100
commit8a7411fcc875711663b7e5439f86a3184e0cb863 (patch)
treefc1108d6e25b9051c79e37c720daf05a888c8566 /testsuite
parent07c8b240d5621c5f50d2b27aa204ea643060de6b (diff)
downloadbusybox-8a7411fcc875711663b7e5439f86a3184e0cb863.zip
busybox-8a7411fcc875711663b7e5439f86a3184e0cb863.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')
-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