diff options
author | Denys Vlasenko | 2021-09-25 22:25:19 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-09-25 22:35:17 +0200 |
commit | 62e433131b289ea90e465cf0c5f78c8c226fc692 (patch) | |
tree | 2279c66136d95f1b77484aec147608fe458e8095 /shell/hush_test/hush-arith/arith.tests | |
parent | d84a604830a7ee3f8fb5f3908ae0d54513393a20 (diff) | |
download | busybox-62e433131b289ea90e465cf0c5f78c8c226fc692.zip busybox-62e433131b289ea90e465cf0c5f78c8c226fc692.tar.gz |
shell: enable more tests which are passing now
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-arith/arith.tests')
-rwxr-xr-x | shell/hush_test/hush-arith/arith.tests | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/shell/hush_test/hush-arith/arith.tests b/shell/hush_test/hush-arith/arith.tests index a7aded1..6b70748 100755 --- a/shell/hush_test/hush-arith/arith.tests +++ b/shell/hush_test/hush-arith/arith.tests @@ -142,25 +142,25 @@ echo 255 $(( 0xff )) echo 40 $(( 8 ^ 32 )) -#ash# # other bases -#ash# echo 10 $(( 16#a )) -#ash# echo 10 $(( 32#a )) -#ash# echo 10 $(( 56#a )) -#ash# echo 10 $(( 64#a )) -#ash# -#ash# echo 10 $(( 16#A )) -#ash# echo 10 $(( 32#A )) -#ash# echo 36 $(( 56#A )) -#ash# echo 36 $(( 64#A )) -#ash# -#ash# echo 62 $(( 64#@ )) -#ash# echo 63 $(( 64#_ )) +echo other bases +echo 10 $(( 16#a )) +echo 10 $(( 32#a )) +echo 10 $(( 56#a )) +echo 10 $(( 64#a )) + +echo 10 $(( 16#A )) +echo 10 $(( 32#A )) +echo 36 $(( 56#A )) +echo 36 $(( 64#A )) + +echo 62 $(( 64#@ )) +echo 63 $(( 64#_ )) #ash# # weird bases (error) #ash# echo $(( 3425#56 )) -#ash# # missing number after base -#ash# echo 0 $(( 2# )) +echo missing number after base +echo 0 $(( 2# )) # these should generate errors ( echo $(( 7 = 43 )) ) |