hush: more fixes to variable expansion, more testcases

This commit is contained in:
Denis Vlasenko
2007-05-14 16:23:23 +00:00
parent 03eb8bf6ce
commit 764d59d488
5 changed files with 60 additions and 29 deletions

0
shell/hush_test/hush-bugs/quote3.tests Normal file → Executable file
View File

View File

@@ -0,0 +1,5 @@
. .
.abc d e.
.abc d e.
.abc d e.
.abc d e.

View File

@@ -0,0 +1,15 @@
if test $# = 0; then
exec "$THIS_SH" "$0" abc "d e"
fi
space=' '
echo .$space.
a=$*
echo .$a.
a=$@
echo .$a.
a="$*"
echo .$a.
a="$@"
echo .$a.

0
shell/hush_test/hush-vars/var_subst_in_for.tests Normal file → Executable file
View File