busybox/shell/ash_test/ash-glob/glob_redir.tests
Denys Vlasenko 66a781acb9 ash: add tests adapted from hush glob tests. glob2.tests currently fails
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-09-04 03:27:08 +02:00

10 lines
213 B
Plaintext
Executable File

# 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'