Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / tests / heredoc.tests
index c07ef64..ebc770a 100644 (file)
@@ -86,6 +86,17 @@ type fff
 export -f fff
 ${THIS_SH} -c 'type fff'
 
+${THIS_SH} ./heredoc1.sub
+
+# test heredocs in command substitutions
+${THIS_SH} ./heredoc2.sub
+
+${THIS_SH} ./heredoc3.sub
+
+echo $(
+       cat <<< "comsub here-string"
+)
+
 # check that end of file delimits a here-document
 # THIS MUST BE LAST!