summaryrefslogtreecommitdiff
path: root/tests/array.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/array.tests')
-rw-r--r--tests/array.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/array.tests b/tests/array.tests
index c909a4f0..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