diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-17 07:26:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-17 07:26:52 +0000 |
commit | 988339259fb74d81e2bd0f702503815f63edc972 (patch) | |
tree | 55d02df7fec9ede538d325af2df7c09b83a171cf /shell/hush_test/hush-glob | |
parent | 30c9cc5b178932bc417846919eaa2fc1bf8e5996 (diff) | |
download | busybox-988339259fb74d81e2bd0f702503815f63edc972.tar.gz |
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.right | 6 | ||||
-rwxr-xr-x | shell/hush_test/hush-glob/glob_and_assign.tests | 10 |
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 @@ +ZVAR=z.tmp ZVAR=*.tmp ZVAR=[z].tmp +ZVAR=z.tmp ZVAR=*.tmp ZVAR=[z].tmp +*.tmp +ZVAR=z.tmp z.tmp +ZVAR=z.tmp ZVAR=*.tmp ZVAR=[z].tmp +ZVAR=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 @@ +>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 |