summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-psubst
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-psubst')
-rw-r--r--shell/ash_test/ash-psubst/tick_in_heredoc.right5
-rwxr-xr-xshell/ash_test/ash-psubst/tick_in_heredoc.tests7
2 files changed, 12 insertions, 0 deletions
diff --git a/shell/ash_test/ash-psubst/tick_in_heredoc.right b/shell/ash_test/ash-psubst/tick_in_heredoc.right
new file mode 100644
index 0000000..7e7bac6
--- /dev/null
+++ b/shell/ash_test/ash-psubst/tick_in_heredoc.right
@@ -0,0 +1,5 @@
+1
+
+2
+
+3
diff --git a/shell/ash_test/ash-psubst/tick_in_heredoc.tests b/shell/ash_test/ash-psubst/tick_in_heredoc.tests
new file mode 100755
index 0000000..c8eb8f4
--- /dev/null
+++ b/shell/ash_test/ash-psubst/tick_in_heredoc.tests
@@ -0,0 +1,7 @@
+cat <<END
+1
+$(echo "")
+2
+`echo ""`
+3
+END