aboutsummaryrefslogtreecommitdiff
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.tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc3.tests b/shell/ash_test/ash-heredoc/heredoc3.tests
new file mode 100755
index 000000000..96c227cc1
--- /dev/null
+++ b/shell/ash_test/ash-heredoc/heredoc3.tests
@@ -0,0 +1,9 @@
1echo hello >greeting
2cat <<EOF &&
3$(cat greeting)
4EOF
5{
6 echo $?
7 cat greeting
8} >/dev/null
9rm greeting