From dfc739476343244371636d58561f7b743faf50d6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 24 Jul 2018 14:03:18 +0200 Subject: hush: handle backslash-newline in heredoc terminators function old new delta fetch_heredocs 479 527 +48 (ash fails this test) Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.right | 1 + shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.tests | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.right create mode 100755 shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.tests (limited to 'shell/hush_test') diff --git a/shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.right b/shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.right new file mode 100644 index 000000000..3d79316d7 --- /dev/null +++ b/shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.right @@ -0,0 +1 @@ +Ok1 diff --git a/shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.tests b/shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.tests new file mode 100755 index 000000000..1d2a26504 --- /dev/null +++ b/shell/hush_test/hush-heredoc/heredoc_bkslash_newline2.tests @@ -0,0 +1,4 @@ +cat <