summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/param_glob.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-vars/param_glob.tests')
-rwxr-xr-xshell/hush_test/hush-vars/param_glob.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/param_glob.tests b/shell/hush_test/hush-vars/param_glob.tests
new file mode 100755
index 0000000..801d58e
--- /dev/null
+++ b/shell/hush_test/hush-vars/param_glob.tests
@@ -0,0 +1,10 @@
+if test $# = 0; then
+ #BUG in builtin_exec! will glob param!
+ #exec "$THIS_SH" "$0" 'param_glob.t*'
+ "$THIS_SH" "$0" 'param_glob.t*'
+ exit
+fi
+echo $*
+echo $@
+echo "$*"
+echo "$@"