diff options
author | Jari Aalto <jari.aalto@cante.net> | 2006-10-10 14:15:34 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:58 +0000 |
commit | 0628567a28f3510f506ae46cb9b24b73a6d2dc5d (patch) | |
tree | da84934c41272cdc655694846c15c1c5db807445 /tests/array.tests | |
parent | 95732b497d12c98613bb3c5db16b61f377501a59 (diff) | |
download | android_external_bash-0628567a28f3510f506ae46cb9b24b73a6d2dc5d.tar.gz android_external_bash-0628567a28f3510f506ae46cb9b24b73a6d2dc5d.tar.bz2 android_external_bash-0628567a28f3510f506ae46cb9b24b73a6d2dc5d.zip |
Imported from ../bash-3.2.tar.gz.
Diffstat (limited to 'tests/array.tests')
-rw-r--r-- | tests/array.tests | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/array.tests b/tests/array.tests index 4a735d8..ce46179 100644 --- a/tests/array.tests +++ b/tests/array.tests @@ -242,6 +242,9 @@ ${THIS_SH} ./array2.sub # some old bugs and ksh93 compatibility tests ${THIS_SH} ./array3.sub +# some compound assingment parsing problems that showed up in bash-3.1-release +${THIS_SH} ./array4.sub + set +u cd /tmp @@ -396,3 +399,7 @@ unset x[2] x[9]='9' echo ${x[*]: -1} + +TOOLKIT=(1 2 3 4 5 6 7 8 9 10) +ARRAY="1" +echo ${TOOLKIT["$ARRAY"]} |