busybox/shell/ash_test/ash-vars/var_bash5.tests
Denys Vlasenko f7a8433535 ash: add another ${v/a/b} test we currently fail
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-08-30 13:54:12 +02:00

12 lines
193 B
Plaintext
Executable File

# 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: $?