aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/var_bash_repl_empty_var.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-23 12:38:03 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-23 12:38:03 +0100
commita7b52d26c435c35336ddc5ff93d5680e648345c8 (patch)
tree0622a61c2da67a946411501c10a44a2889f994dc /shell/hush_test/hush-vars/var_bash_repl_empty_var.tests
parent93e2a22482b72b3076377f71347e3dd07d7dd2f8 (diff)
downloadbusybox-a7b52d26c435c35336ddc5ff93d5680e648345c8.tar.gz
hush: fix fallout from tweaking ${var:START:LEN} code
function old new delta expand_one_var 2344 2353 +9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/var_bash_repl_empty_var.tests')
-rwxr-xr-xshell/hush_test/hush-vars/var_bash_repl_empty_var.tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/var_bash_repl_empty_var.tests b/shell/hush_test/hush-vars/var_bash_repl_empty_var.tests
index 73a43d38e..22aaba560 100755
--- a/shell/hush_test/hush-vars/var_bash_repl_empty_var.tests
+++ b/shell/hush_test/hush-vars/var_bash_repl_empty_var.tests
@@ -1,3 +1,5 @@
+unset v
+echo ${v/*/w}
v=''
echo ${v/*/w}
echo Ok:$?