From 602d13cba552fadb8481283aa7872a4b9f206c48 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 13 May 2007 18:34:53 +0000 Subject: hush: fix '{ false; echo $?; }' bug. hush: expand testsuite. variable expansion is still very broken --- shell/hush_test/hush-bugs/starquoted.tests | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 shell/hush_test/hush-bugs/starquoted.tests (limited to 'shell/hush_test/hush-bugs/starquoted.tests') diff --git a/shell/hush_test/hush-bugs/starquoted.tests b/shell/hush_test/hush-bugs/starquoted.tests new file mode 100755 index 000000000..3be2026b7 --- /dev/null +++ b/shell/hush_test/hush-bugs/starquoted.tests @@ -0,0 +1,4 @@ +if test $# = 0; then + exec "$THIS_SH" starquoted.tests 1 abc 'd e f' +fi +for a in "$*"; do echo ".$a."; done -- cgit v1.2.3