busybox/shell/hush_test/hush-parsing
Denys Vlasenko 97c3b5e3ff hush: fix bkslash+newline handling and number validation in ${NN} and ${#NN}
Entering "${1a}" into interactive shell was making it exit.

function                                             old     new   delta
parse_dollar                                         824     958    +134
i_getch_and_eat_bkslash_nl                             -      44     +44
parse_expr                                           917     938     +21
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 199/0)             Total: 199 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-06-19 15:45:45 +02:00
..
and_or_and_backgrounding.right hush: fix and_or_and_backgrounding.tests failure 2017-07-15 22:51:55 +02:00
and_or_and_backgrounding.tests shell: and_or_and_backgrounding.tests is no longer "UNFIXED BUG" 2017-07-15 22:54:46 +02:00
argv0.right hush: move testsuite files from hush-bugs to hush-parsing 2007-05-14 22:09:52 +00:00
argv0.tests hush: move testsuite files from hush-bugs to hush-parsing 2007-05-14 22:09:52 +00:00
bkslash_eof1.right hush: do not drop backslash from eval 'echo ok\' 2018-04-11 01:15:33 +02:00
bkslash_eof1.tests hush: fix eval 'echo ok\' 2018-04-10 14:40:23 +02:00
bkslash_eof2.right hush: fix handling of \<eof> in double-quoted strings 2018-04-10 14:49:01 +02:00
bkslash_eof2.tests hush: fix handling of \<eof> in double-quoted strings 2018-04-10 14:49:01 +02:00
bkslash_newline1.right ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline1.tests ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline2.right ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline2.tests ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline3.right hush: fix recent breakage from parse_stream() changes 2018-04-11 20:00:43 +02:00
bkslash_newline3.tests hush: fix recent breakage from parse_stream() changes 2018-04-11 20:00:43 +02:00
bkslash_newline4.right hush: fix bkslash+newline handling and number validation in ${NN} and ${#NN} 2021-06-19 15:45:45 +02:00
bkslash_newline4.tests hush: fix bkslash+newline handling and number validation in ${NN} and ${#NN} 2021-06-19 15:45:45 +02:00
brace1.right hush: fix handling of words with braces. +65 bytes 2009-11-16 03:18:46 +01:00
brace1.tests hush: fix handling of words with braces. +65 bytes 2009-11-16 03:18:46 +01:00
brace2.right hush: improve HUSH_BRACE_EXP code (still disabled). ~0 bytes 2009-11-17 03:35:31 +01:00
brace2.tests hush: improve HUSH_BRACE_EXP code (still disabled). ~0 bytes 2009-11-17 03:35:31 +01:00
comment1.right hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
comment1.tests hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
comment2.right hush: fix comment parsing in cmd, closes 10421 2017-10-22 15:55:48 +02:00
comment2.tests hush: fix comment parsing in cmd, closes 10421 2017-10-22 15:55:48 +02:00
eol1.right hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
eol1.tests hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
escape1.right hush: fix escaping of \[*?; add testsuites for these and for globbing 2008-06-10 20:13:40 +00:00
escape1.tests skip some tests when fancy echo support is turned off 2009-04-09 07:50:18 +00:00
escape2.right hush: fix escaping of \[*?; add testsuites for these and for globbing 2008-06-10 20:13:40 +00:00
escape2.tests hush: fix escaping of \[*?; add testsuites for these and for globbing 2008-06-10 20:13:40 +00:00
escape3.right hush: add testsuite for "no globbing in redirection" rule. 2008-06-18 16:29:32 +00:00
escape3.tests skip some tests when fancy echo support is turned off 2009-04-09 07:50:18 +00:00
escape4.right hush: fix \<newline> handling 2009-05-03 02:15:18 +02:00
escape4.tests hush: fix \<newline> handling 2009-05-03 02:15:18 +02:00
escape5.right hush: fix bug 353 (wrong handling of \x in assignments) 2009-05-28 16:49:11 +02:00
escape5.tests hush: fix bug 353 (wrong handling of \x in assignments) 2009-05-28 16:49:11 +02:00
group1.right hush: fix handling of } which is not a closing one in { cmd; } 2009-04-19 13:57:51 +00:00
group1.tests hush: fix \<newline> handling 2009-05-03 02:15:18 +02:00
group2.right hush: fix hush-bugs/parse_err.tests 2010-05-17 09:49:47 +02:00
group2.tests hush: fix hush-bugs/parse_err.tests 2010-05-17 09:49:47 +02:00
groups_and_keywords1.right hush: fix "if { echo foo; } then { echo bar; } fi" parsing 2009-04-16 10:59:40 +00:00
groups_and_keywords1.tests hush: fix "if { echo foo; } then { echo bar; } fi" parsing 2009-04-16 10:59:40 +00:00
groups_and_keywords2.right hush: do not accept "if() { echo; }" function def 2017-08-02 19:46:14 +02:00
groups_and_keywords2.tests hush: do not accept "if() { echo; }" function def 2017-08-02 19:46:14 +02:00
negate.right hush: do not use ps -o in leak_argv1; do not hardcode path in negate 2009-08-12 14:21:30 +02:00
negate.tests hush: do not use ps -o in leak_argv1; do not hardcode path in negate 2009-08-12 14:21:30 +02:00
noeol2.right hush: fix a bit different instance of "No EOL" bug, 2007-05-23 00:32:25 +00:00
noeol2.tests hush: fix a bit different instance of "No EOL" bug, 2007-05-23 00:32:25 +00:00
noeol3.right hush: make syntax error messages a bit more useful 2007-05-23 15:22:50 +00:00
noeol3.tests hush: make syntax error messages a bit more useful 2007-05-23 15:22:50 +00:00
noeol.right hush: reinstate hush_test, add testcases for process subst 2007-05-11 12:57:35 +00:00
noeol.tests hush: reinstate hush_test, add testcases for process subst 2007-05-11 12:57:35 +00:00
process_subst.right shells: update README and testsuite. environment memory leak 2007-05-21 10:19:48 +00:00
process_subst.tests shells: update README and testsuite. environment memory leak 2007-05-21 10:19:48 +00:00
quote1.right hush: fix incorrect processing of echo "'$var'". 2007-05-16 09:36:55 +00:00
quote1.tests hush: fix incorrect processing of echo "'$var'". 2007-05-16 09:36:55 +00:00
quote2.right hush: move testsuite files from hush-bugs to hush-parsing 2007-05-14 22:09:52 +00:00
quote2.tests hush: move testsuite files from hush-bugs to hush-parsing 2007-05-14 22:09:52 +00:00
quote3.right hush: expand quote3.tests and move from hush-bugs to hush-parsing 2008-06-18 09:22:31 +00:00
quote3.tests hush: expand quote3.tests and move from hush-bugs to hush-parsing 2008-06-18 09:22:31 +00:00
quote4.right hush: fix expansion of quoted $VAR, $* and $@ 2007-05-16 10:39:24 +00:00
quote4.tests hush: fix expansion of quoted $VAR, $* and $@ 2007-05-16 10:39:24 +00:00
starquoted2.right hush: fix remaining known two bugs with IFS expansion. Closes 4027. 2011-08-01 18:16:43 +02:00
starquoted2.tests hush: fix remaining known two bugs with IFS expansion. Closes 4027. 2011-08-01 18:16:43 +02:00
starquoted3.right ash: expand: Fix bugs with words connected to the right of $@ 2018-04-02 14:27:50 +02:00
starquoted3.tests ash: expand: Fix bugs with words connected to the right of $@ 2018-04-02 14:27:50 +02:00
starquoted.right hush: fix expansion of quoted $VAR, $* and $@ 2007-05-16 10:39:24 +00:00
starquoted.tests hush: fix expansion of quoted $VAR, $* and $@ 2007-05-16 10:39:24 +00:00