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:
10
shell/ash_test/ash-glob/glob_and_assign.tests
Executable file
10
shell/ash_test/ash-glob/glob_and_assign.tests
Executable file
@ -0,0 +1,10 @@
|
||||
>ZVAR=z.tmp
|
||||
>z.tmp
|
||||
ZVAR=*.tmp echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
|
||||
ZVAR=*.tmp /bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
|
||||
ZVAR=*.tmp
|
||||
echo "$ZVAR"
|
||||
echo $ZVAR
|
||||
echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
|
||||
/bin/echo ZVAR=*.tmp "ZVAR=*.tmp" "ZVAR=[z].tmp"
|
||||
rm ZVAR=z.tmp z.tmp
|
Reference in New Issue
Block a user