Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
11752d46d18ff4a04a9f6736d129a82756a65a22
/
.
/
shell
/
ash_test
/
ash-vars
/
var_bash6.tests
blob: 686834177aa8a359619fa630527ee6c7e08f8c3d [
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