From 883cdb79a440d0425766f67aaef0cabde0a5060e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 9 Jan 2021 08:27:37 +0100 Subject: ash: fix ${unset_var/pattern/repl} function old new delta subevalvar 1349 1353 +4 Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-vars/var_bash_repl_empty_var.right | 1 + shell/ash_test/ash-vars/var_bash_repl_empty_var.tests | 2 ++ 2 files changed, 3 insertions(+) (limited to 'shell/ash_test') diff --git a/shell/ash_test/ash-vars/var_bash_repl_empty_var.right b/shell/ash_test/ash-vars/var_bash_repl_empty_var.right index 8929167..cf8f088 100644 --- a/shell/ash_test/ash-vars/var_bash_repl_empty_var.right +++ b/shell/ash_test/ash-vars/var_bash_repl_empty_var.right @@ -1,2 +1,3 @@ + Ok:0 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:$? -- cgit v1.1