diff options
author | Denys Vlasenko | 2018-07-24 13:03:03 +0200 |
---|---|---|
committer | Denys Vlasenko | 2018-07-24 13:03:03 +0200 |
commit | 474cb205554919e4d017b7aeb3722d6a4ffee41d (patch) | |
tree | a6934231956c3f3756b3d78750a83cdddf746b85 /shell/ash_test/ash-heredoc/heredoc_after_compound1.tests | |
parent | 3675c37b9b0bb4ba565b690b95b0b9c7d0ce8123 (diff) | |
download | busybox-474cb205554919e4d017b7aeb3722d6a4ffee41d.zip busybox-474cb205554919e4d017b7aeb3722d6a4ffee41d.tar.gz |
hush: fix handling of heredocs not enclosed in groups where they are "declared"
function old new delta
fetch_heredocs - 479 +479
parse_and_run_stream 146 148 +2
parse_stream 2787 2296 -491
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 481/-491) Total: -10 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-heredoc/heredoc_after_compound1.tests')
-rwxr-xr-x | shell/ash_test/ash-heredoc/heredoc_after_compound1.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc_after_compound1.tests b/shell/ash_test/ash-heredoc/heredoc_after_compound1.tests new file mode 100755 index 0000000..e7cfb5b --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredoc_after_compound1.tests @@ -0,0 +1,3 @@ +{ cat <<EOF; }; echo Ok2 +Ok1 +EOF |