aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/star.tests
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-13 18:34:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-13 18:34:53 +0000
commit602d13cba552fadb8481283aa7872a4b9f206c48 (patch)
tree224cc9027daa059db593e561526a8bb13f95de25 /shell/hush_test/hush-vars/star.tests
parent119b995437c52a164b2c5e51ef918c3f46b8a130 (diff)
downloadbusybox-602d13cba552fadb8481283aa7872a4b9f206c48.tar.gz
hush: fix '{ false; echo $?; }' bug.
hush: expand testsuite. variable expansion is still very broken
Diffstat (limited to 'shell/hush_test/hush-vars/star.tests')
-rwxr-xr-xshell/hush_test/hush-vars/star.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/star.tests b/shell/hush_test/hush-vars/star.tests
new file mode 100755
index 000000000..1914dde44
--- /dev/null
+++ b/shell/hush_test/hush-vars/star.tests
@@ -0,0 +1,8 @@
+if test $# = 0; then
+ exec "$THIS_SH" star.tests 1 abc 'd e f'
+fi
+# 'd e f' should be split into 3 separate args:
+for a in $*; do echo ".$a."; done
+
+# must produce .1 abc d e f. Currently does not
+#for a in "$*"; do echo ".$a."; done