diff options
Diffstat (limited to 'shell/ash_test/ash-arith/arith.tests')
-rwxr-xr-x | shell/ash_test/ash-arith/arith.tests | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash_test/ash-arith/arith.tests b/shell/ash_test/ash-arith/arith.tests index b9cb8ba4c..42cd7fdbf 100755 --- a/shell/ash_test/ash-arith/arith.tests +++ b/shell/ash_test/ash-arith/arith.tests @@ -155,12 +155,12 @@ echo 63 $(( 64#_ )) #ash# # weird bases (error) #ash# echo $(( 3425#56 )) -echo missing number after base -echo 0 $(( 2# )) # these should generate errors +echo missing number after base +( echo $(( 2# )) ) ( echo $(( 7 = 43 )) ) -#ash# echo $(( 2#44 )) +( echo $(( 2#44 )) ) ( echo $(( 44 / 0 )) ) ( let 'jv += $iv' ) ( echo $(( jv += \$iv )) ) |