Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
be669fa1fdff6f751c8cdd3fc18a9fa7a7f46cd3
/
.
/
shell
/
ash_test
/
ash-vars
/
var_bash6.tests
blob: cf2e4f0206cc960d06cd76353cc07ab1f9a9bf81 [
file
] [
log
] [
blame
]
# This testcase checks globbing correctness in ${v/a/b}
>
a1z
;
>
a2z
;
echo
'Expected'
'Actual'
v
=
'a bz'
;
echo
'a*z :'
"${v/a*z/a*z}"
v
=
'a bz'
;
echo
'\z :'
"${v/a*z/\z}"
v
=
'a bz'
;
echo
'a1z a2z:'
$
{
v
/
a
*
z
/
a
*
z
}
v
=
'a bz'
;
echo
'z :'
$
{
v
/
a
*
z
/
\z
}
rm a1z a2z