From: Ron Yorston Date: Thu, 29 Oct 2015 11:29:59 +0000 (+0000) Subject: ash: add test for issue with here document X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4c07ad913029c20d845cbb3d9ff80d6332835ae1;p=oweals%2Fbusybox.git ash: add test for issue with here document This used to work but doesn't now: foo () { cat < Signed-off-by: Ron Yorston Signed-off-by: Denys Vlasenko Signed-off-by: Mike Frysinger (cherry picked from commit 9121510dc659baf6664456796c195460468c850b) --- diff --git a/shell/ash_test/ash-heredoc/heredoc2.right b/shell/ash_test/ash-heredoc/heredoc2.right new file mode 100644 index 000000000..a486f1ac4 --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredoc2.right @@ -0,0 +1,2 @@ +bar +bar diff --git a/shell/ash_test/ash-heredoc/heredoc2.tests b/shell/ash_test/ash-heredoc/heredoc2.tests new file mode 100755 index 000000000..6d9ccb6cc --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredoc2.tests @@ -0,0 +1,7 @@ +foo () { +cat <