summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-06 18:31:47 +0200
committerDenys Vlasenko2017-07-06 18:31:47 +0200
commitcafb2d195d4d68e4e4c474453409a69643edf5aa (patch)
tree3bb184145ae2490c12bf4c128cc462790b91e2ab
parentbb963bda62cc8b0965a921df70dfea44c4378163 (diff)
downloadbusybox-cafb2d195d4d68e4e4c474453409a69643edf5aa.zip
busybox-cafb2d195d4d68e4e4c474453409a69643edf5aa.tar.gz
hush: add tickquote1.tests from ash testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xshell/ash_test/ash-misc/tickquote1.tests2
-rw-r--r--shell/hush_test/hush-misc/tickquote1.right1
-rwxr-xr-xshell/hush_test/hush-misc/tickquote1.tests2
3 files changed, 4 insertions, 1 deletions
diff --git a/shell/ash_test/ash-misc/tickquote1.tests b/shell/ash_test/ash-misc/tickquote1.tests
index 90d5bbc..8416ad9 100755
--- a/shell/ash_test/ash-misc/tickquote1.tests
+++ b/shell/ash_test/ash-misc/tickquote1.tests
@@ -1 +1 @@
-echo `"pwd`
+echo _`"pwd`_
diff --git a/shell/hush_test/hush-misc/tickquote1.right b/shell/hush_test/hush-misc/tickquote1.right
new file mode 100644
index 0000000..56f8515
--- /dev/null
+++ b/shell/hush_test/hush-misc/tickquote1.right
@@ -0,0 +1 @@
+hush: syntax error: unterminated "
diff --git a/shell/hush_test/hush-misc/tickquote1.tests b/shell/hush_test/hush-misc/tickquote1.tests
new file mode 100755
index 0000000..02e3904
--- /dev/null
+++ b/shell/hush_test/hush-misc/tickquote1.tests
@@ -0,0 +1,2 @@
+# UNFIXED BUG: hush does not parse embedded `cmd` at embedding document parse time
+echo _`"pwd`_