summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/shell/hush_test/hush-glob/glob_redir.tests
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/shell/hush_test/hush-glob/glob_redir.tests')
-rwxr-xr-xrelease/src/router/busybox/shell/hush_test/hush-glob/glob_redir.tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/release/src/router/busybox/shell/hush_test/hush-glob/glob_redir.tests b/release/src/router/busybox/shell/hush_test/hush-glob/glob_redir.tests
new file mode 100755
index 00000000..621d1201
--- /dev/null
+++ b/release/src/router/busybox/shell/hush_test/hush-glob/glob_redir.tests
@@ -0,0 +1,9 @@
+# Redirections are not globbed.
+# bash:
+# if run as "sh", they are not globbed, but
+# if run as "bash", they are!
+>z.tmp
+echo TEST >?.tmp
+echo 'z.tmp:' `cat 'z.tmp'`
+echo '?.tmp:' `cat '?.tmp'`
+rm 'z.tmp' '?.tmp'