From: Denys Vlasenko Date: Sun, 5 Aug 2018 18:03:04 +0000 (+0200) Subject: hush: adopt ash's quote_in_varexp1.tests X-Git-Tag: 1_30_0~464 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=77c18491b8647832422be3f95187e5aa5270e044;p=oweals%2Fbusybox.git hush: adopt ash's quote_in_varexp1.tests Signed-off-by: Denys Vlasenko --- diff --git a/shell/hush_test/hush-quoting/quote_in_varexp1.right b/shell/hush_test/hush-quoting/quote_in_varexp1.right new file mode 100644 index 000000000..99a0aea7c --- /dev/null +++ b/shell/hush_test/hush-quoting/quote_in_varexp1.right @@ -0,0 +1,2 @@ +'' +Ok:0 diff --git a/shell/hush_test/hush-quoting/quote_in_varexp1.tests b/shell/hush_test/hush-quoting/quote_in_varexp1.tests new file mode 100755 index 000000000..1b97b0556 --- /dev/null +++ b/shell/hush_test/hush-quoting/quote_in_varexp1.tests @@ -0,0 +1,2 @@ +x="''''"; echo "${x#"${x+''}"''}" +echo Ok:$?