summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-bugs/quote3.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-bugs/quote3.tests')
-rw-r--r--shell/hush_test/hush-bugs/quote3.tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/hush_test/hush-bugs/quote3.tests b/shell/hush_test/hush-bugs/quote3.tests
new file mode 100644
index 0000000..c52e040
--- /dev/null
+++ b/shell/hush_test/hush-bugs/quote3.tests
@@ -0,0 +1,12 @@
+if test $# = 0; then
+ exec "$THIS_SH" quote3.tests abc "d e"
+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