testsuite: add some tests for ash

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Ron Yorston 2015-05-18 10:13:21 +02:00 committed by Denys Vlasenko
parent 417622cc2e
commit 523006798c
10 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,2 @@
v="a\bc"
echo ${v/\\b/_\\_\z_}

View File

@ -0,0 +1,2 @@
v="abc"
echo ${v/b/x/y}

View File

@ -0,0 +1,2 @@
v="abcabc"
echo ${v/b/x}

View File

@ -0,0 +1,2 @@
v="abcabc"
echo ${v//b/x}

View File

@ -0,0 +1,2 @@
v="ab/c"
echo ${v/b\//x}