diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-24 14:03:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-24 14:03:18 +0200 |
commit | dfc739476343244371636d58561f7b743faf50d6 (patch) | |
tree | 7e41ed6fa9688c819f4d525255402179af6e0d0f /shell/ash_test | |
parent | 474cb205554919e4d017b7aeb3722d6a4ffee41d (diff) |
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 <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test')
-rw-r--r-- | shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.right | 1 | ||||
-rwxr-xr-x | shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.tests | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.right b/shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.right new file mode 100644 index 000000000..3d79316d7 --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.right @@ -0,0 +1 @@ +Ok1 diff --git a/shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.tests b/shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.tests new file mode 100755 index 000000000..1d2a26504 --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredoc_bkslash_newline2.tests @@ -0,0 +1,4 @@ +cat <<EOF +Ok1 +EO\ +F |