diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-25 14:09:06 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-25 14:09:06 +0100 |
commit | 043be556916ab0fbbece9d406cef199d397f8455 (patch) | |
tree | 279865c4636e70b13a01e44dbc1c06f638227434 | |
parent | cba79a87f86f4f8d3c5b21ff7024b392402cf287 (diff) | |
download | busybox-043be556916ab0fbbece9d406cef199d397f8455.tar.gz |
ash testsuite: add two hush tests from last commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
4 files changed, 10 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_bash_repl_empty_pattern.right b/shell/ash_test/ash-vars/var_bash_repl_empty_pattern.right new file mode 100644 index 000000000..d400a7e31 --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash_repl_empty_pattern.right @@ -0,0 +1,2 @@ +v +Ok:0 diff --git a/shell/ash_test/ash-vars/var_bash_repl_empty_pattern.tests b/shell/ash_test/ash-vars/var_bash_repl_empty_pattern.tests new file mode 100755 index 000000000..6e8aa2afa --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash_repl_empty_pattern.tests @@ -0,0 +1,3 @@ +v=v +echo ${v//} +echo Ok:$? 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 new file mode 100644 index 000000000..892916783 --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash_repl_empty_var.right @@ -0,0 +1,2 @@ + +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 new file mode 100755 index 000000000..73a43d38e --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash_repl_empty_var.tests @@ -0,0 +1,3 @@ +v='' +echo ${v/*/w} +echo Ok:$? |