From 011c1d1c0766c65517ebd495465c99e86edb63ec Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 11 Oct 2010 14:49:26 -0700 Subject: Update to bash-4.1 --- tests/dollar-at-star | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/dollar-at-star') 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 -- cgit v1.2.3