diff options
Diffstat (limited to 'shell/ash_test')
-rw-r--r-- | shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.right | 2 | ||||
-rwxr-xr-x | shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.tests | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.right b/shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.right new file mode 100644 index 000000000..439dca578 --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.right | |||
@@ -0,0 +1,2 @@ | |||
1 | -dev-ram | ||
2 | /dev-am | ||
diff --git a/shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.tests b/shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.tests new file mode 100755 index 000000000..b83fb8eeb --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash_pattern_starting_with_slash.tests | |||
@@ -0,0 +1,3 @@ | |||
1 | v=/dev/ram | ||
2 | echo ${v////-} | ||
3 | echo ${v///r/-} | ||