aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-07 22:24:36 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-07 22:24:36 +0200
commit33bbb27e45c7c6a0fecb40b3a5aa36aef69825f9 (patch)
treeb1038e6280788218428409acf45158bf0013c5d0 /shell/ash_test/ash-vars
parent58a15cd9d2765e9b9bca6b71ad9713bcc3784821 (diff)
downloadbusybox-33bbb27e45c7c6a0fecb40b3a5aa36aef69825f9.tar.gz
ash: fix another bit of var_bash4 bug
But it _still_ doesn't pass! quoted case is a tough nut to crack function old new delta redirect 1281 1286 +5 subevalvar 1141 1142 +1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars')
-rw-r--r--shell/ash_test/ash-vars/var_bash4.right2
-rwxr-xr-xshell/ash_test/ash-vars/var_bash4.tests2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash_test/ash-vars/var_bash4.right b/shell/ash_test/ash-vars/var_bash4.right
index 2d4e45be8..600e8532f 100644
--- a/shell/ash_test/ash-vars/var_bash4.right
+++ b/shell/ash_test/ash-vars/var_bash4.right
@@ -11,7 +11,7 @@ Quoted: a*b_\_\z_
Source: a\bc
Replace str: _\\_\z_
-Pattern: single backslash and b: "replace literal b"
+Pattern: single backslash and b: "replace b"
In assignment: a\_\_z_c
Unquoted: a\_\_z_c
Quoted: a\_\_\z_c
diff --git a/shell/ash_test/ash-vars/var_bash4.tests b/shell/ash_test/ash-vars/var_bash4.tests
index a6e98fd86..d5470614b 100755
--- a/shell/ash_test/ash-vars/var_bash4.tests
+++ b/shell/ash_test/ash-vars/var_bash4.tests
@@ -30,7 +30,7 @@ v='a\bc'
echo 'Source: ' "$v"
echo 'Replace str: ' '_\\_\z_'
-echo 'Pattern: ' 'single backslash and b: "replace literal b"'
+echo 'Pattern: ' 'single backslash and b: "replace b"'
r=${v/\b/_\\_\z_}
echo 'In assignment:' "$r"
echo 'Unquoted: ' ${v/\b/_\\_\z_}