aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test')
-rw-r--r--shell/ash_test/ash-heredoc/heredoc5.right9
-rwxr-xr-xshell/ash_test/ash-heredoc/heredoc5.tests12
2 files changed, 21 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc5.right b/shell/ash_test/ash-heredoc/heredoc5.right
new file mode 100644
index 000000000..74110e3b5
--- /dev/null
+++ b/shell/ash_test/ash-heredoc/heredoc5.right
@@ -0,0 +1,9 @@
1exit EOF-f
2"
3echo 1
4echo Hello World
5moo
6 EOF-f
7EOF-f f
8EOF-f
9Ok
diff --git a/shell/ash_test/ash-heredoc/heredoc5.tests b/shell/ash_test/ash-heredoc/heredoc5.tests
new file mode 100755
index 000000000..e619bded1
--- /dev/null
+++ b/shell/ash_test/ash-heredoc/heredoc5.tests
@@ -0,0 +1,12 @@
1f=1
2 cat <<- EOF-f
3 exit EOF-f
4"
5echo $f
6echo `echo Hello World`
7 moo
8 EOF-f
9EOF-f f
10EOF-f
11EOF-f
12echo Ok