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:
parent
ac61f44704
commit
73523079a2
1
shell/ash_test/ash-quoting/dollar_repl_slash_bash2.right
Normal file
1
shell/ash_test/ash-quoting/dollar_repl_slash_bash2.right
Normal file
@ -0,0 +1 @@
|
||||
\/a\/bc\/def\/file
|
2
shell/ash_test/ash-quoting/dollar_repl_slash_bash2.tests
Executable file
2
shell/ash_test/ash-quoting/dollar_repl_slash_bash2.tests
Executable file
@ -0,0 +1,2 @@
|
||||
var="/a/bc/def/file"
|
||||
echo "${var//\//\\/}"
|
@ -0,0 +1 @@
|
||||
\/a\/bc\/def\/file
|
2
shell/hush_test/hush-quoting/dollar_repl_slash_bash2.tests
Executable file
2
shell/hush_test/hush-quoting/dollar_repl_slash_bash2.tests
Executable file
@ -0,0 +1,2 @@
|
||||
var="/a/bc/def/file"
|
||||
echo "${var//\//\\/}"
|
Loading…
Reference in New Issue
Block a user