busybox/shell/ash_test/ash-heredoc
Denys Vlasenko c4c2012284 ash: parser: Fix single-quoted patterns in here-documents
Upstream commit:

    From: Herbert Xu <herbert@gondor.apana.org.au>
    Date: Fri, 9 Mar 2018 23:07:53 +0800
    parser: Fix single-quoted patterns in here-documents

    The script

            x=*
            cat <<- EOF
                    ${x#'*'}
            EOF

    prints * instead of nothing as it should.  The problem is that
    when we're in sqsyntax context in a here-document, we won't add
    CTLESC as we should.  This patch fixes it:

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

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-02 13:29:20 +02:00
..
heredoc1.right
heredoc1.tests
heredoc2.right
heredoc2.tests
heredoc3.right
heredoc3.tests
heredoc4.right
heredoc4.tests
heredoc5.right
heredoc5.tests
heredoc6.right
heredoc6.tests
heredoc7.right
heredoc7.tests
heredoc8.right
heredoc8.tests
heredoc9.right
heredoc9.tests
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 ash: use pgetc_eatbnl() in more places 2018-03-31 19:40:56 +02:00
heredoc_backslash1.tests ash: use pgetc_eatbnl() in more places 2018-03-31 19:40:56 +02:00
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
heredoc_empty2.tests
heredoc_empty.right
heredoc_empty.tests
heredoc_huge.right
heredoc_huge.tests
heredoc_var_expand1.right ash: parser: Fix single-quoted patterns in here-documents 2018-04-02 13:29:20 +02:00
heredoc_var_expand1.tests ash: parser: Fix single-quoted patterns in here-documents 2018-04-02 13:29:20 +02:00
heredoc.right
heredoc.tests