aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-glob
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-17 07:26:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-17 07:26:52 +0000
commit988339259fb74d81e2bd0f702503815f63edc972 (patch)
tree55d02df7fec9ede538d325af2df7c09b83a171cf /shell/hush_test/hush-glob
parent30c9cc5b178932bc417846919eaa2fc1bf8e5996 (diff)
downloadbusybox-w32-988339259fb74d81e2bd0f702503815f63edc972.tar.gz
busybox-w32-988339259fb74d81e2bd0f702503815f63edc972.tar.bz2
busybox-w32-988339259fb74d81e2bd0f702503815f63edc972.zip
move glob_and_assign.tests from hush-bugs to hush-glob
Diffstat (limited to 'shell/hush_test/hush-glob')
-rw-r--r--shell/hush_test/hush-glob/glob_and_assign.right6
-rwxr-xr-xshell/hush_test/hush-glob/glob_and_assign.tests10
2 files changed, 16 insertions, 0 deletions
diff --git a/shell/hush_test/hush-glob/glob_and_assign.right b/shell/hush_test/hush-glob/glob_and_assign.right
new file mode 100644
index 000000000..d46e44363
--- /dev/null
+++ b/shell/hush_test/hush-glob/glob_and_assign.right
@@ -0,0 +1,6 @@
1ZVAR=z.tmp ZVAR=*.tmp ZVAR=[z].tmp
2ZVAR=z.tmp ZVAR=*.tmp ZVAR=[z].tmp
3*.tmp
4ZVAR=z.tmp z.tmp
5ZVAR=z.tmp ZVAR=*.tmp ZVAR=[z].tmp
6ZVAR=z.tmp ZVAR=*.tmp ZVAR=[z].tmp
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 000000000..0b158f20f
--- /dev/null
+++ b/shell/hush_test/hush-glob/glob_and_assign.tests
@@ -0,0 +1,10 @@
1>ZVAR=z.tmp
2>z.tmp
3ZVAR=*.tmp echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
4ZVAR=*.tmp /bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
5ZVAR=*.tmp
6echo "$ZVAR"
7echo $ZVAR
8echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
9/bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
10rm ZVAR=z.tmp z.tmp