ash: add tests adapted from hush glob tests. glob2.tests currently fails
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
9
shell/ash_test/ash-glob/glob_redir.tests
Executable file
9
shell/ash_test/ash-glob/glob_redir.tests
Executable file
@@ -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'
|
||||
Reference in New Issue
Block a user