busybox/shell/hush_test
Denys Vlasenko 220be537a0 ash: use pgetc_eatbnl() in more places
Part of upstream commit:

    Date:   Thu Mar 8 08:37:11 2018 +0100
    Author: Harald van Dijk <harald@gigawatt.nl>
    parser: use pgetc_eatbnl() in more places

    dash has a pgetc_eatbnl function in parser.c which skips any
    backslash-newline combinations. It's not used everywhere it could be.
    There is also some duplicated backslash-newline handling elsewhere in
    parser.c. Replace most of the calls to pgetc() with calls to
    pgetc_eatbnl() and remove the duplicated backslash-newline handling.

    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Not adding "readtoken1(pgetc_eatbnl(), DQSYNTAX..." changes, since
readtoken1() handles the "starts with backslash + newline" case itself.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-03-31 19:40:56 +02:00
..
hush-arith shell: handle $((NUM++...) like bash does. Closes 10706 2018-01-28 20:13:33 +01:00
hush-bugs hush: fix and_or_and_backgrounding.tests failure 2017-07-15 22:51:55 +02:00
hush-getopts hush: fix "getopts" builtin to not be upset by other builtins calling getopt() 2017-08-29 13:38:30 +02:00
hush-glob hush testsuite: add glob_dir.tests 2016-10-02 15:20:57 +02:00
hush-heredoc ash: use pgetc_eatbnl() in more places 2018-03-31 19:40:56 +02:00
hush-invert hush testsuite: add many tests from ash testsuite 2016-10-02 17:39:31 +02:00
hush-leak
hush-misc hush: fix raw ^C handlisg in single-quoted strings 2018-01-13 19:14:27 +01:00
hush-parsing hush: fix comment parsing in cmd, closes 10421 2017-10-22 15:55:48 +02:00
hush-psubst
hush-quoting ash,hush: new test dollar_repl_slash_bash2.tests 2018-03-30 23:25:24 +02:00
hush-read shell: optional support for read -t N.NNN, closes 10101 2017-07-20 16:09:31 +02:00
hush-redir ash,hush: fix "saved" redirected fds still visible in children 2018-03-28 18:35:07 +02:00
hush-signals hush: add support for "set -e" 2017-07-14 13:36:48 +02:00
hush-standalone ash: fix nofork bug where environment is not properly passed to a command 2017-11-03 14:16:25 +01:00
hush-vars hush: fix two corner cases in ${v/pattern/repl}. Closes 10686 2018-01-25 14:07:40 +01:00
hush-z_slow
.gitignore
run-all nofork: fix a bug uncovered by hush testsuite (forgotten fflush) 2017-08-03 19:52:47 +02:00