aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-arith/arith.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-arith/arith.tests')
-rwxr-xr-xshell/ash_test/ash-arith/arith.tests6
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#_ ))
155#ash# # weird bases (error) 155#ash# # weird bases (error)
156#ash# echo $(( 3425#56 )) 156#ash# echo $(( 3425#56 ))
157 157
158echo missing number after base
159echo 0 $(( 2# ))
160 158
161# these should generate errors 159# these should generate errors
160echo missing number after base
161( echo $(( 2# )) )
162( echo $(( 7 = 43 )) ) 162( echo $(( 7 = 43 )) )
163#ash# echo $(( 2#44 )) 163( echo $(( 2#44 )) )
164( echo $(( 44 / 0 )) ) 164( echo $(( 44 / 0 )) )
165( let 'jv += $iv' ) 165( let 'jv += $iv' )
166( echo $(( jv += \$iv )) ) 166( echo $(( jv += \$iv )) )