busybox/shell/ash_test/ash-heredoc
Ron Yorston 4c07ad9130 ash: add test for issue with here document
This used to work but doesn't now:

foo () {
cat <<EOF && { echo "$1" ; }
$1
EOF
}

foo "bar"

Reported-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit 9121510dc6)
2016-03-22 18:21:06 -04:00
..
heredoc.right ash: "here document" testcases 2007-03-05 21:08:29 +00:00
heredoc.tests fix accumulated whitespace and indentation damage 2007-03-20 11:30:28 +00:00
heredoc1.right ash: fix handling of duplicate "local" 2015-04-18 19:36:38 +02:00
heredoc1.tests ash: fix a SEGV case in an invalid heredoc 2015-02-05 21:00:17 +01:00
heredoc2.right ash: add test for issue with here document 2016-03-22 18:21:06 -04:00
heredoc2.tests ash: add test for issue with here document 2016-03-22 18:21:06 -04:00
heredoc3.right ash: fix error during recursive processing of here document 2016-03-21 14:28:06 -04:00
heredoc3.tests ash: fix error during recursive processing of here document 2016-03-21 14:28:06 -04:00