aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-07-24 14:03:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-07-24 14:03:18 +0200
commitdfc739476343244371636d58561f7b743faf50d6 (patch)
tree7e41ed6fa9688c819f4d525255402179af6e0d0f /shell/ash_test
parent474cb205554919e4d017b7aeb3722d6a4ffee41d (diff)
downloadbusybox-dfc739476343244371636d58561f7b743faf50d6.tar.gz
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.right1
-rwxr-xr-xshell/ash_test/ash-heredoc/heredoc_bkslash_newline2.tests4
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