summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-glob/glob_and_assign.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-glob/glob_and_assign.tests')
-rwxr-xr-xshell/hush_test/hush-glob/glob_and_assign.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush_test/hush-glob/glob_and_assign.tests b/shell/hush_test/hush-glob/glob_and_assign.tests
new file mode 100755
index 0000000..0b158f2
--- /dev/null
+++ b/shell/hush_test/hush-glob/glob_and_assign.tests
@@ -0,0 +1,10 @@
+>ZVAR=z.tmp
+>z.tmp
+ZVAR=*.tmp echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
+ZVAR=*.tmp /bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
+ZVAR=*.tmp
+echo "$ZVAR"
+echo $ZVAR
+echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
+/bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
+rm ZVAR=z.tmp z.tmp