X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fdollar-at-star;h=9a5d402a2cfcbc5ff337240c9386334fbb934949;hb=ac50fbac377e32b98d2de396f016ea81e8ee9961;hp=54e499d91bdd00aeefc6dd02dbcaff5ccde7ad87;hpb=4539d736f1aff232857a854fd2a68df0c98d9f34;p=platform%2Fupstream%2Fbash.git diff --git a/tests/dollar-at-star b/tests/dollar-at-star index 54e499d..9a5d402 100755 --- a/tests/dollar-at-star +++ b/tests/dollar-at-star @@ -207,6 +207,10 @@ case "$@" in *) echo bad 4;; esac +# tests for the effect of quoting $* and $@ in an assignment context (plus +# arrays) -- bugs through bash 4.2 +${THIS_SH} ./dollar-at-star1.sub + # tests for special expansion of "$*" and "${array[*]}" when used with other # expansions -- bugs through bash-2.05b ${THIS_SH} ./dollar-star1.sub @@ -235,4 +239,22 @@ ${THIS_SH} ./dollar-star4.sub # tests for expansions of $* when IFS is null ${THIS_SH} ./dollar-star5.sub +# tests for inappropriate word splitting through bash-4.2 +${THIS_SH} ./dollar-at4.sub + +# tests for problems with "$@" preceded and followed by other quoted expansions +# through bash-4.2 +${THIS_SH} ./dollar-at5.sub + +# tests for problems with "${@:1}" and other expansions with null entries +# in positional parameters +${THIS_SH} ./dollar-at6.sub + +# tests for expansions of $* when $1 == ""; problem through bash-4.2 +${THIS_SH} ./dollar-star6.sub + +# tests for expansions of $* (unquoted) when IFS changes (e.g., ${IFS:=-}) +# problem through bash-4.2 +${THIS_SH} ./dollar-star7.sub + exit 0