busybox/shell/hush_test/hush-heredoc
Denys Vlasenko 41fddb4372 parser: Fix backquote support in here-document EOF mark
Upstream commit:

    Author: Herbert Xu <herbert@gondor.apana.org.au>
    Date:   Thu Mar 15 18:27:30 2018 +0800
    parser: Fix backquote support in here-document EOF mark

    Currently using backquotes in a here-document EOF mark is broken
    because dash tries to do command substitution on it.  This patch
    fixes it by checking whether we're looking for an EOF mark during
    tokenisation.

    Reported-by: Harald van Dijk <harald@gigawatt.nl>
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

With added fix for quoted-ness of the EOF mark.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-01 16:38:32 +02:00
..
heredoc1.right
heredoc1.tests
heredoc2.right
heredoc2.tests
heredoc3.right
heredoc3.tests
heredoc4.right
heredoc4.tests
heredoc5.right
heredoc5.tests
heredoc6.right ash: [PARSER] Recognise here-doc delimiters terminated by EOF 2016-10-26 16:26:45 +02:00
heredoc6.tests ash: [PARSER] Recognise here-doc delimiters terminated by EOF 2016-10-26 16:26:45 +02:00
heredoc7.right ash: [PARSER] Recognise here-doc delimiters terminated by EOF 2016-10-26 16:26:45 +02:00
heredoc7.tests ash: [PARSER] Recognise here-doc delimiters terminated by EOF 2016-10-26 16:26:45 +02:00
heredoc8.right shell: syncronize ash and hush heredoc1.tests 2017-07-06 18:16:18 +02:00
heredoc8.tests shell: syncronize ash and hush heredoc1.tests 2017-07-06 18:16:18 +02:00
heredoc_backquote1.right parser: Fix backquote support in here-document EOF mark 2018-04-01 16:38:32 +02:00
heredoc_backquote1.tests parser: Fix backquote support in here-document EOF mark 2018-04-01 16:38:32 +02:00
heredoc_backslash1.right
heredoc_backslash1.tests
heredoc_bkslash_newline1.right ash: use pgetc_eatbnl() in more places 2018-03-31 19:40:56 +02:00
heredoc_bkslash_newline1.tests ash: use pgetc_eatbnl() in more places 2018-03-31 19:40:56 +02:00
heredoc_empty2.right hush: fix handling of empty heredoc EOF marker 2017-07-29 20:43:26 +02:00
heredoc_empty2.tests hush: fix handling of empty heredoc EOF marker 2017-07-29 20:43:26 +02:00
heredoc_huge.right
heredoc_huge.tests