ash: add another ${v/a/b} test we currently fail

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
Denys Vlasenko 2010-08-30 13:54:12 +02:00
parent 25b4755302
commit f7a8433535
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,4 @@
a/
a/d
a/e/f
Done: 0

View File

@ -0,0 +1,11 @@
# This testcase checks whether slashes in ${v/a/b} are parsed before or after expansions
# in a part
v='a/b/c'
s='b/c'
r='e/f'
echo "${v/$s}"
echo "${v/$s/d}"
echo "${v/$s/$r}"
echo Done: $?