hush: add brace expansion testcase

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-10-03 17:07:57 +02:00
parent 9e800223f1
commit 2bcba5cc53
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
bash_brace1.tests
*{b,b}race1.t*
bash_brace1.tests bash_brace1.tests
Done: 0

View File

@ -0,0 +1,10 @@
# unquoted $v should be globbed:
v='*brace1.t*'; echo $v
# ...but not brace expanded:
v='*{b,b}race1.t*'; echo $v
# whereas direct brces are expanded:
echo *{b,b}race1.t*
echo Done: $?