diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-18 16:29:32 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-18 16:29:32 +0000 |
commit | ab876cd107fe6ca274f58bae3264396745d8e5f9 (patch) | |
tree | c94ecba9c7d10af007294333e9b4c80efe079cfb /shell/hush_test/hush-parsing/redir_space.tests | |
parent | 985de15bf3f39b5e32e34cadaf6947708197f018 (diff) |
hush: add testsuite for "no globbing in redirection" rule.
simplify redirection habdling
Diffstat (limited to 'shell/hush_test/hush-parsing/redir_space.tests')
-rwxr-xr-x | shell/hush_test/hush-parsing/redir_space.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/redir_space.tests b/shell/hush_test/hush-parsing/redir_space.tests new file mode 100755 index 000000000..c0b543098 --- /dev/null +++ b/shell/hush_test/hush-parsing/redir_space.tests @@ -0,0 +1,6 @@ +v='z1.tmp z2.tmp' +echo TEST >$v +echo 'z1.tmp:' `cat 'z1.tmp' 2>/dev/null; echo $?` +echo 'z2.tmp:' `cat 'z2.tmp' 2>/dev/null; echo $?` +echo '"z1.tmp z2.tmp":' `cat 'z1.tmp z2.tmp' 2>/dev/null; echo $?` +rm z*.tmp |