From 77c18491b8647832422be3f95187e5aa5270e044 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 5 Aug 2018 20:03:04 +0200 Subject: hush: adopt ash's quote_in_varexp1.tests Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-quoting/quote_in_varexp1.right | 2 ++ shell/hush_test/hush-quoting/quote_in_varexp1.tests | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 shell/hush_test/hush-quoting/quote_in_varexp1.right create mode 100755 shell/hush_test/hush-quoting/quote_in_varexp1.tests (limited to 'shell/hush_test') 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:$? -- cgit v1.2.3