projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported from ../bash-2.05.tar.gz.
[platform/upstream/bash.git]
/
tests
/
arith-for.tests
diff --git
a/tests/arith-for.tests
b/tests/arith-for.tests
index
1d6da80
..
585aa51
100644
(file)
--- a/
tests/arith-for.tests
+++ b/
tests/arith-for.tests
@@
-85,3
+85,10
@@
do
echo $i
done
echo $?
+
+# one-liners added in post-bash-2.04
+for ((i=0; i < 20; i++)) do : ; done
+echo $i
+
+for ((i=0; i < 20; i++)) { : ; }
+echo $i