summaryrefslogtreecommitdiff
path: root/tests/dollar-at-star
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-11 14:49:26 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-11 15:19:40 -0700
commit011c1d1c0766c65517ebd495465c99e86edb63ec (patch)
tree30d8f6a13235af90897c3223554871ef52225462 /tests/dollar-at-star
parent40cfaccf7b178b6239b5cd0013ef80b7ff8e503e (diff)
downloadvyatta-bash-011c1d1c0766c65517ebd495465c99e86edb63ec.tar.gz
vyatta-bash-011c1d1c0766c65517ebd495465c99e86edb63ec.zip
Update to bash-4.1
Diffstat (limited to 'tests/dollar-at-star')
-rwxr-xr-xtests/dollar-at-star12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/dollar-at-star b/tests/dollar-at-star
index 25c2443..54e499d 100755
--- a/tests/dollar-at-star
+++ b/tests/dollar-at-star
@@ -223,4 +223,16 @@ ${THIS_SH} ./dollar-at2.sub
# no splitting, etc. when $IFS is NUL
${THIS_SH} ./dollar-star2.sub
+# tests for expansions of "${array[*]}" and "${array[@]}" when $IFS is not the
+# default and the array contains null elements
+${THIS_SH} ./dollar-star3.sub
+
+# test for set -u and expansions of $@ when there are no positional parameters
+${THIS_SH} ./dollar-at3.sub
+# test for set -u and expansions of $* when there are no positional parameters
+${THIS_SH} ./dollar-star4.sub
+
+# tests for expansions of $* when IFS is null
+${THIS_SH} ./dollar-star5.sub
+
exit 0