summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_bash_repl_empty_var.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2021-01-09 08:27:37 +0100
committerDenys Vlasenko2021-01-09 08:27:37 +0100
commit883cdb79a440d0425766f67aaef0cabde0a5060e (patch)
treec90b5ef771bd4ef39c0ddf27c7a5229bbdde1194 /shell/ash_test/ash-vars/var_bash_repl_empty_var.tests
parentcc4303f5e603f3212ede6965ee37609d2a386398 (diff)
downloadbusybox-883cdb79a440d0425766f67aaef0cabde0a5060e.zip
busybox-883cdb79a440d0425766f67aaef0cabde0a5060e.tar.gz
ash: fix ${unset_var/pattern/repl}
function old new delta subevalvar 1349 1353 +4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/var_bash_repl_empty_var.tests')
-rwxr-xr-xshell/ash_test/ash-vars/var_bash_repl_empty_var.tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_bash_repl_empty_var.tests b/shell/ash_test/ash-vars/var_bash_repl_empty_var.tests
index 73a43d3..22aaba5 100755
--- a/shell/ash_test/ash-vars/var_bash_repl_empty_var.tests
+++ b/shell/ash_test/ash-vars/var_bash_repl_empty_var.tests
@@ -1,3 +1,5 @@
+unset v
+echo ${v/*/w}
v=''
echo ${v/*/w}
echo Ok:$?