hush: add testsuite for "no globbing in redirection" rule.
simplify redirection habdling
This commit is contained in:
6
shell/hush_test/hush-parsing/redir_space.tests
Executable file
6
shell/hush_test/hush-parsing/redir_space.tests
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user