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:
Denys Vlasenko
2015-09-04 03:27:08 +02:00
parent 68acc0f835
commit 66a781acb9
8 changed files with 76 additions and 0 deletions

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