From 4c07ad913029c20d845cbb3d9ff80d6332835ae1 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 29 Oct 2015 11:29:59 +0000 Subject: [PATCH] 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) --- shell/ash_test/ash-heredoc/heredoc2.right | 2 ++ shell/ash_test/ash-heredoc/heredoc2.tests | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 shell/ash_test/ash-heredoc/heredoc2.right create mode 100755 shell/ash_test/ash-heredoc/heredoc2.tests 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 <