summaryrefslogtreecommitdiff
path: root/tests/dollar-at-star
diff options
context:
space:
mode:
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