diff options
| author | Chet Ramey <chet.ramey@case.edu> | 2018-05-22 16:51:07 -0400 |
|---|---|---|
| committer | Chet Ramey <chet.ramey@case.edu> | 2018-05-22 16:51:07 -0400 |
| commit | 9a51695bed07d37086c352372ac69d0a30039a6b (patch) | |
| tree | 4d0f57cba0dd1ec7a75aae56e18cfe9997d0b7a7 /tests/array.tests | |
| parent | 7de27456f6494f5f9c11ea1c19024d0024f31112 (diff) | |
| download | bash-5.0-alpha.tar.gz | |
bash-5.0-alpha releasebash-5.0-alpha
Diffstat (limited to 'tests/array.tests')
| -rw-r--r-- | tests/array.tests | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/array.tests b/tests/array.tests index b1053937..e045d5c4 100644 --- a/tests/array.tests +++ b/tests/array.tests @@ -21,6 +21,9 @@ unset a a=abcde declare -a a echo ${a[0]} +if [ "$a" != "${a[0]}" ]; then + echo 'array.tests: $a and $a[0] array mismatch' +fi unset a a=abcde @@ -248,7 +251,7 @@ ${THIS_SH} ./array3.sub ${THIS_SH} ./array4.sub set +u -cd /tmp +cd ${TMPDIR:=/tmp} touch 1=bar foo=([10]="bar") @@ -397,3 +400,7 @@ ${THIS_SH} ./array18.sub ${THIS_SH} ./array19.sub ${THIS_SH} ./array20.sub ${THIS_SH} ./array21.sub +${THIS_SH} ./array22.sub +${THIS_SH} ./array23.sub +${THIS_SH} ./array24.sub +${THIS_SH} ./array25.sub |
