summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/shell/hush_test/hush-glob/glob_and_assign.tests
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/shell/hush_test/hush-glob/glob_and_assign.tests')
-rwxr-xr-xrelease/src/router/busybox/shell/hush_test/hush-glob/glob_and_assign.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/release/src/router/busybox/shell/hush_test/hush-glob/glob_and_assign.tests b/release/src/router/busybox/shell/hush_test/hush-glob/glob_and_assign.tests
new file mode 100755
index 00000000..0b158f20
--- /dev/null
+++ b/release/src/router/busybox/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