hush/shell/hush_test
Denys Vlasenko 8286513838 hush: rework input char buffering to allow more than one-deep peek
This fixes backslash+newline continuation in
	$VAR\
	NAME
construct. (ash has a bug there as well).

function                                             old     new   delta
file_peek2                                             -      74     +74
parse_dollar                                         746     773     +27
expand_vars_to_list                                 1143    1167     +24
setup_string_in_str                                   32      46     +14
setup_file_in_str                                     33      47     +14
file_get                                             264     278     +14
static_peek2                                           -       7      +7
file_peek                                             91      72     -19
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 5/1 up/down: 174/-19)           Total: 155 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-09-29 16:59:06 +02:00
..
hush-arith shell/math: deconvolute and explain ?: handling. Give better error message 2010-09-16 11:50:46 +02:00
hush-bugs hush: document buggy handling of duplicate "local" 2015-04-18 19:38:13 +02:00
hush-glob ash,hush: add a test which fails for ash since commit 549deab 2015-09-04 03:33:02 +02:00
hush-leak
hush-misc hush: fix 'eval ""' handling 2016-09-29 01:44:17 +02:00
hush-parsing hush: fix remaining known two bugs with IFS expansion. Closes 4027. 2011-08-01 18:16:43 +02:00
hush-psubst
hush-read
hush-trap hush: add tests for interrupting read 2011-05-09 01:05:33 +02:00
hush-vars hush: rework input char buffering to allow more than one-deep peek 2016-09-29 16:59:06 +02:00
hush-z_slow
.gitignore
run-all hush: fix a bug in FEATURE_SH_STANDALONE=y config. Closes 9186 2016-08-19 18:43:06 +02:00