diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-16 10:39:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-16 10:39:24 +0000 |
commit | 1f4cf517f5803b0e300906c487d365a331122091 (patch) | |
tree | 8ca30e71e1c0d7cb6f3b64fd9911a85c615170e8 /shell/hush_test/hush-bugs | |
parent | 8f6bdb42df745425ba0ac085467105e9cc61c817 (diff) | |
download | busybox-1f4cf517f5803b0e300906c487d365a331122091.tar.gz |
hush: fix expansion of quoted $VAR, $* and $@
Diffstat (limited to 'shell/hush_test/hush-bugs')
-rw-r--r-- | shell/hush_test/hush-bugs/quote3.right | 5 | ||||
-rwxr-xr-x | shell/hush_test/hush-bugs/quote3.tests | 4 | ||||
-rw-r--r-- | shell/hush_test/hush-bugs/starquoted.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-bugs/starquoted.tests | 4 |
4 files changed, 0 insertions, 14 deletions
diff --git a/shell/hush_test/hush-bugs/quote3.right b/shell/hush_test/hush-bugs/quote3.right index 11443f54b..069a46e8f 100644 --- a/shell/hush_test/hush-bugs/quote3.right +++ b/shell/hush_test/hush-bugs/quote3.right @@ -1,8 +1,3 @@ Testing: in $empty"" .. -Testing: in "$*" -.abc d e. -Testing: in "$@" -.abc. -.d e. Finished diff --git a/shell/hush_test/hush-bugs/quote3.tests b/shell/hush_test/hush-bugs/quote3.tests index c52e040cc..075e78570 100755 --- a/shell/hush_test/hush-bugs/quote3.tests +++ b/shell/hush_test/hush-bugs/quote3.tests @@ -5,8 +5,4 @@ fi echo 'Testing: in $empty""' empty='' for a in $empty""; do echo ".$a."; done -echo 'Testing: in "$*"' -for a in "$*"; do echo ".$a."; done -echo 'Testing: in "$@"' -for a in "$@"; do echo ".$a."; done echo Finished diff --git a/shell/hush_test/hush-bugs/starquoted.right b/shell/hush_test/hush-bugs/starquoted.right deleted file mode 100644 index fedaf4805..000000000 --- a/shell/hush_test/hush-bugs/starquoted.right +++ /dev/null @@ -1 +0,0 @@ -.1 abc d e f. diff --git a/shell/hush_test/hush-bugs/starquoted.tests b/shell/hush_test/hush-bugs/starquoted.tests deleted file mode 100755 index 3be2026b7..000000000 --- a/shell/hush_test/hush-bugs/starquoted.tests +++ /dev/null @@ -1,4 +0,0 @@ -if test $# = 0; then - exec "$THIS_SH" starquoted.tests 1 abc 'd e f' -fi -for a in "$*"; do echo ".$a."; done |