diff options
author | Jari Aalto <jari.aalto@cante.net> | 2001-04-06 19:14:31 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:53 +0000 |
commit | 28ef6c316f1aff914bb95ac09787a3c83c1815fd (patch) | |
tree | 2812fe7ffc9beec4f99856906ddfcafda54cf16a /tests/arith-for.tests | |
parent | bb70624e964126b7ac4ff085ba163a9c35ffa18f (diff) | |
download | bash-28ef6c316f1aff914bb95ac09787a3c83c1815fd.tar.gz |
Imported from ../bash-2.05.tar.gz.
Diffstat (limited to 'tests/arith-for.tests')
-rw-r--r-- | tests/arith-for.tests | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/arith-for.tests b/tests/arith-for.tests index 1d6da80d..585aa513 100644 --- 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 |