ash,hush: new test dollar_repl_slash_bash2.tests

This fails for ash. hush works.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-03-30 23:25:24 +02:00
parent ac61f44704
commit 73523079a2
4 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
\/a\/bc\/def\/file

View File

@ -0,0 +1,2 @@
var="/a/bc/def/file"
echo "${var//\//\\/}"

View File

@ -0,0 +1 @@
\/a\/bc\/def\/file

View File

@ -0,0 +1,2 @@
var="/a/bc/def/file"
echo "${var//\//\\/}"