hush: adopt ash's quote_in_varexp1.tests
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 5 Aug 2018 18:03:04 +0000 (20:03 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 5 Aug 2018 18:03:04 +0000 (20:03 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush_test/hush-quoting/quote_in_varexp1.right [new file with mode: 0644]
shell/hush_test/hush-quoting/quote_in_varexp1.tests [new file with mode: 0755]

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 (file)
index 0000000..99a0aea
--- /dev/null
@@ -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 (executable)
index 0000000..1b97b05
--- /dev/null
@@ -0,0 +1,2 @@
+x="''''"; echo "${x#"${x+''}"''}"
+echo Ok:$?