diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-23 16:31:21 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-23 16:31:21 +0200 |
commit | 3675c37b9b0bb4ba565b690b95b0b9c7d0ce8123 (patch) | |
tree | 889b8b684811dd9ff0dca01e6514136adb66a1e8 /shell/ash_test/ash-heredoc | |
parent | d73cdbf84c9c7d509baf69eb3256dcaf733f4d93 (diff) | |
download | busybox-3675c37b9b0bb4ba565b690b95b0b9c7d0ce8123.tar.gz |
hush: fix heredoc handling in the "cmd <<EOF ;<newline>" case
function old new delta
parse_stream 2759 2787 +28
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-heredoc')
-rw-r--r-- | shell/ash_test/ash-heredoc/heredocA.right | 1 | ||||
-rwxr-xr-x | shell/ash_test/ash-heredoc/heredocA.tests | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredocA.right b/shell/ash_test/ash-heredoc/heredocA.right new file mode 100644 index 000000000..7326d9603 --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredocA.right @@ -0,0 +1 @@ +Ok diff --git a/shell/ash_test/ash-heredoc/heredocA.tests b/shell/ash_test/ash-heredoc/heredocA.tests new file mode 100755 index 000000000..440aaf906 --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredocA.tests @@ -0,0 +1,4 @@ +{ cat <<EOF ; +Ok +EOF +} |