Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / tests / heredoc.tests
index ac642e0..ebc770a 100644 (file)
@@ -88,6 +88,15 @@ ${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!