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.tests10
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/ash_test/ash-arith/arith.tests b/shell/ash_test/ash-arith/arith.tests
index d65758e7d..746ccab71 100755
--- a/shell/ash_test/ash-arith/arith.tests
+++ b/shell/ash_test/ash-arith/arith.tests
@@ -252,8 +252,8 @@ echo 3 $x
252echo 4 $(( ++x )) 252echo 4 $(( ++x ))
253echo 4 $x 253echo 4 $x
254 254
255# bash 3.2 apparently thinks that ++7 is 7 255# ++ is not a inc operator on non-variable, it is the + + sequence
256#ash# echo 7 $(( ++7 )) 256echo 7 $(( ++7 ))
257( echo $(( 7-- )) ) 257( echo $(( 7-- )) )
258 258
259( echo $(( --x=7 )) ) 259( echo $(( --x=7 )) )
@@ -267,9 +267,9 @@ echo 4 $x
267echo 7 $(( +7 )) 267echo 7 $(( +7 ))
268echo -7 $(( -7 )) 268echo -7 $(( -7 ))
269 269
270# bash 3.2 apparently thinks that ++7 is 7 270# ++ is not a inc operator on non-variable, it is the + + sequence
271#ash# echo $(( ++7 )) 271echo $(( ++7 ))
272#ash# echo $(( --7 )) 272echo $(( --7 ))
273 273
274${THIS_SH} ./arith1.sub 274${THIS_SH} ./arith1.sub
275${THIS_SH} ./arith2.sub 275${THIS_SH} ./arith2.sub