aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-arith
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-arith')
-rw-r--r--shell/ash_test/ash-arith/arith-for.right4
-rwxr-xr-xshell/ash_test/ash-arith/arith-for.testsx2
-rwxr-xr-xshell/ash_test/ash-arith/arith.tests4
3 files changed, 5 insertions, 5 deletions
diff --git a/shell/ash_test/ash-arith/arith-for.right b/shell/ash_test/ash-arith/arith-for.right
index 44941103f..88dbc15fa 100644
--- a/shell/ash_test/ash-arith/arith-for.right
+++ b/shell/ash_test/ash-arith/arith-for.right
@@ -11,8 +11,8 @@
2
4
fx is a function
-fx ()
-{
+fx ()
+{
i=0;
for ((1; i < 3; i++ ))
do
diff --git a/shell/ash_test/ash-arith/arith-for.testsx b/shell/ash_test/ash-arith/arith-for.testsx
index 585aa5133..4fa30ff90 100755
--- a/shell/ash_test/ash-arith/arith-for.testsx
+++ b/shell/ash_test/ash-arith/arith-for.testsx
@@ -73,7 +73,7 @@ done
type fx
fx
-# errors
+# errors
for (( i=0; "i < 3" ))
do
echo $i
diff --git a/shell/ash_test/ash-arith/arith.tests b/shell/ash_test/ash-arith/arith.tests
index 272fc3487..d65758e7d 100755
--- a/shell/ash_test/ash-arith/arith.tests
+++ b/shell/ash_test/ash-arith/arith.tests
@@ -144,12 +144,12 @@ echo 40 $(( 8 ^ 32 ))
#ash# echo 10 $(( 32#a ))
#ash# echo 10 $(( 56#a ))
#ash# echo 10 $(( 64#a ))
-#ash#
+#ash#
#ash# echo 10 $(( 16#A ))
#ash# echo 10 $(( 32#A ))
#ash# echo 36 $(( 56#A ))
#ash# echo 36 $(( 64#A ))
-#ash#
+#ash#
#ash# echo 62 $(( 64#@ ))
#ash# echo 63 $(( 64#_ ))