summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-heredoc/heredoc3.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-heredoc/heredoc3.tests')
-rwxr-xr-xshell/ash_test/ash-heredoc/heredoc3.tests21
1 files changed, 12 insertions, 9 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc3.tests b/shell/ash_test/ash-heredoc/heredoc3.tests
index 96c227c..938577a 100755
--- a/shell/ash_test/ash-heredoc/heredoc3.tests
+++ b/shell/ash_test/ash-heredoc/heredoc3.tests
@@ -1,9 +1,12 @@
-echo hello >greeting
-cat <<EOF &&
-$(cat greeting)
-EOF
-{
- echo $?
- cat greeting
-} >/dev/null
-rm greeting
+f=1
+ cat <<- EOF-f""
+ exit EOF-f
+"
+echo $f
+echo `echo Hello World`
+ moo
+ EOF-f
+EOF-f f
+EOF-f
+EOF-f
+echo Ok