busybox/shell/hush_test/hush-misc
Denys Vlasenko 77b32ccbf2 hush: fix backslash and terminator handling in <<[-]["]heredoc["]
function                                             old     new   delta
parse_stream                                        2339    2395     +56
expand_pseudo_dquoted                                104     118     +14
parse_stream_dquoted                                 296     300      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 74/0)               Total: 74 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-09-06 11:27:32 +02:00
..
and-or.right move hush-parsing/and-or.tests to hush-misc/* 2009-04-06 16:17:51 +00:00
and-or.tests move hush-parsing/and-or.tests to hush-misc/* 2009-04-06 16:17:51 +00:00
assignment1.right hush: fix mishandling of a'b'c=fff as assignments. They are not. 2008-08-04 00:46:07 +00:00
assignment1.tests hush: fix mishandling of a'b'c=fff as assignments. They are not. 2008-08-04 00:46:07 +00:00
assignment2.rigth hush: fix mishandling of a'b'c=fff as assignments. They are not. 2008-08-04 00:46:07 +00:00
assignment2.tests hush: fix mishandling of a'b'c=fff as assignments. They are not. 2008-08-04 00:46:07 +00:00
break1.right hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break1.tests *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
break2.right hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break2.tests hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break3.right hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break3.tests hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break4.right hush: fix "while false; ..." exitcode; add testsuites 2008-07-28 23:17:31 +00:00
break4.tests hush: fix "while false; ..." exitcode; add testsuites 2008-07-28 23:17:31 +00:00
break5.right hush: fix break'ing out of {} and () groups; with testcase 2008-07-29 11:37:15 +00:00
break5.tests hush: fix break'ing out of {} and () groups; with testcase 2008-07-29 11:37:15 +00:00
builtin1.right hush: add #defines to switch off break/continue if loops are not supported 2008-07-29 10:16:05 +00:00
builtin1.tests hush: add #defines to switch off break/continue if loops are not supported 2008-07-29 10:16:05 +00:00
case1.right hush: fix problems with case in subshells and with "case esac" 2009-05-23 16:50:07 +02:00
case1.tests hush: fix problems with case in subshells and with "case esac" 2009-05-23 16:50:07 +02:00
colon.right
colon.tests hush: fix a bug where we were requiring semicolon here: (cmd;) 2008-06-14 17:13:20 +00:00
compound.right hush_test: add some pathological compound list tests 2009-05-21 18:35:37 -04:00
compound.tests make compound.tests executable 2009-05-23 17:00:13 +02:00
continue1.right hush: small fix for repeated continue and fix for wrong loop depth count 2008-07-29 13:36:09 +00:00
continue1.tests hush: small fix for repeated continue and fix for wrong loop depth count 2008-07-29 13:36:09 +00:00
continue2.right hush: fix a bunch of obscure while/until/continue bugs 2009-04-06 18:08:35 +00:00
continue2.tests make hush-misc/*.tests executable 2009-04-06 18:10:20 +00:00
continue3.right hush: fix a bunch of obscure while/until/continue bugs 2009-04-06 18:08:35 +00:00
continue3.tests make hush-misc/*.tests executable 2009-04-06 18:10:20 +00:00
empty_args.right hush: fix handling of empty arguments 2009-10-18 11:46:35 +02:00
empty_args.tests hush: fix handling of empty arguments 2009-10-18 11:46:35 +02:00
empty_for2.right hush: support "for v; do ... done" syntax (implied 'in "$@"') 2008-07-05 20:29:59 +00:00
empty_for2.tests hush: support "for v; do ... done" syntax (implied 'in "$@"') 2008-07-05 20:29:59 +00:00
empty_for.right hush: fix "for a in; do echo 'I should never run'; done" bug 2008-06-17 12:09:21 +00:00
empty_for.tests hush: fix "for a in; do echo 'I should never run'; done" bug 2008-06-17 12:09:21 +00:00
env_and_func.right hush: fix bug where in "var=val func" var's value is not visible in func 2009-05-04 00:14:30 +02:00
env_and_func.tests hush: fix bug where in "var=val func" var's value is not visible in func 2009-05-04 00:14:30 +02:00
exec.right add tests for basic fd open/close/dupe 2009-04-06 12:36:10 +00:00
exec.tests hush: heredoc support, based on patch by Mike Frysinger (vapier AT gentoo.org) 2009-04-07 02:29:51 +00:00
exit1.right hush: fix EXIT trap recursion case; check redirection failures 2009-04-09 13:43:11 +00:00
exit1.tests hush: fix EXIT trap recursion case; check redirection failures 2009-04-09 13:43:11 +00:00
export-n.right hush: export -n support 2009-04-20 22:04:21 +00:00
export-n.tests hush: export -n support 2009-04-20 22:04:21 +00:00
export.right hush: fix handling of } which is not a closing one in { cmd; } 2009-04-19 13:57:51 +00:00
export.tests hush: fix some TODOs. TODO in export builting: +250 bytes. 2009-04-10 13:49:10 +00:00
for_with_bslashes.right hush: tighten up "for" variable name check. 2009-04-10 12:03:20 +00:00
for_with_bslashes.tests hush: tighten up "for" variable name check. 2009-04-10 12:03:20 +00:00
for_with_keywords.right hush: support "for if in do done then; do echo $if; done" case 2008-07-06 10:01:13 +00:00
for_with_keywords.tests hush: support "for if in do done then; do echo $if; done" case 2008-07-06 10:01:13 +00:00
func1.right hush: add function tests 2009-04-10 23:23:41 +00:00
func1.tests hush: add function tests 2009-04-10 23:23:41 +00:00
func2.right hush: add function tests 2009-04-10 23:23:41 +00:00
func2.tests hush: add function tests 2009-04-10 23:23:41 +00:00
func3.right hush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com) 2009-04-17 23:44:18 +00:00
func3.tests hush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com) 2009-04-17 23:44:18 +00:00
func4.right hush: nommu fix for function passing 2009-04-26 20:06:14 +00:00
func4.tests whitespace fixes 2010-01-25 13:39:24 +01:00
func5.right hush_test: test for subshell function syntax 2009-05-21 18:35:08 -04:00
func5.tests hush_test: test for subshell function syntax 2009-05-21 18:35:08 -04:00
func_args1.right hush: add two testcases 2009-04-20 10:52:31 +00:00
func_args1.tests hush: add two testcases 2009-04-20 10:52:31 +00:00
func_local1.right hush: add support for local builtin 2009-06-03 12:47:26 +02:00
func_local1.tests hush: add support for local builtin 2009-06-03 12:47:26 +02:00
func_local2.right hush: add support for local builtin 2009-06-03 12:47:26 +02:00
func_local2.tests hush: add support for local builtin 2009-06-03 12:47:26 +02:00
heredoc1.right hush: heredoc support, based on patch by Mike Frysinger (vapier AT gentoo.org) 2009-04-07 02:29:51 +00:00
heredoc1.tests hush: heredoc support, based on patch by Mike Frysinger (vapier AT gentoo.org) 2009-04-07 02:29:51 +00:00
heredoc2.right hush: echo \2>file fix 2009-04-08 09:29:14 +00:00
heredoc2.tests hush: echo \2>file fix 2009-04-08 09:29:14 +00:00
heredoc3.right hush: echo \2>file fix 2009-04-08 09:29:14 +00:00
heredoc3.tests hush: echo \2>file fix 2009-04-08 09:29:14 +00:00
heredoc_backslash1.right hush: fix backslash and terminator handling in <<[-]["]heredoc["] 2010-09-06 11:27:32 +02:00
heredoc_backslash1.tests hush: fix backslash and terminator handling in <<[-]["]heredoc["] 2010-09-06 11:27:32 +02:00
heredoc_huge.right hush: more rodust detection of unterminated strings etc; 2009-04-08 21:51:33 +00:00
heredoc_huge.tests hush: more rodust detection of unterminated strings etc; 2009-04-08 21:51:33 +00:00
if_false_exitcode.right hush: fix "if false; then...fi" exitcode; 2009-04-06 18:40:31 +00:00
if_false_exitcode.tests hush: fix "if false; then...fi" exitcode; 2009-04-06 18:40:31 +00:00
nommu1.right hush: fix \<newline> handling on NOMMU 2009-08-12 19:47:44 +02:00
nommu1.tests hush: fix \<newline> handling on NOMMU 2009-08-12 19:47:44 +02:00
nommu2.right hush: two NOMMU fixes for bugs 877 and 883 2010-01-12 13:45:45 +01:00
nommu2.tests hush: two NOMMU fixes for bugs 877 and 883 2010-01-12 13:45:45 +01:00
opts1.right hush: do not process options after non-option args 2009-08-20 03:38:58 +02:00
opts1.tests hush: do not process options after non-option args 2009-08-20 03:38:58 +02:00
pid.right hush: fix $$ handling 2008-06-17 12:28:44 +00:00
pid.tests hush: fix $$ handling 2008-06-17 12:28:44 +00:00
read.right
read.tests
redir1.right hush: readability improvements. 2009-04-10 00:20:58 +00:00
redir1.tests hush: tighten up "for" variable name check. 2009-04-10 12:03:20 +00:00
redir2.right hush: echo \2>file fix 2009-04-08 09:29:14 +00:00
redir2.tests hush: echo \2>file fix 2009-04-08 09:29:14 +00:00
redir3.right hush: fix EXIT trap recursion case; check redirection failures 2009-04-09 13:43:11 +00:00
redir3.tests hush: fix EXIT trap recursion case; check redirection failures 2009-04-09 13:43:11 +00:00
redir4.right hush: tighten up "for" variable name check. 2009-04-10 12:03:20 +00:00
redir4.tests hush: tighten up "for" variable name check. 2009-04-10 12:03:20 +00:00
redir5.right hush: fix stdin of backgrounded pipe 2009-04-20 00:34:01 +00:00
redir5.tests hush: fix stdin of backgrounded pipe 2009-04-20 00:34:01 +00:00
redir6.right hush: fix multiple redirections of the same fd (bug 227) 2009-05-02 14:17:31 +02:00
redir6.tests hush: fix multiple redirections of the same fd (bug 227) 2009-05-02 14:17:31 +02:00
shift.right
shift.tests
sig_exitcode.right hush: fix exitcodes of killed processes 2010-01-04 11:37:09 +01:00
sig_exitcode.tests hush: fix exitcodes of killed processes 2010-01-04 11:37:09 +01:00
syntax_err_negate.right hush: improve parse_stream: does not require parsing context struct; 2009-04-03 16:49:04 +00:00
syntax_err_negate.tests
syntax_err.right hush: finally make cmd safe on NOMMU 2009-04-03 22:31:18 +00:00
syntax_err.tests
until1.right hush: fix a bunch of obscure while/until/continue bugs 2009-04-06 18:08:35 +00:00
until1.tests make hush-misc/*.tests executable 2009-04-06 18:10:20 +00:00
while1.right hush: fix "while false; ..." exitcode; add testsuites 2008-07-28 23:17:31 +00:00
while1.tests hush: fix "while false; ..." exitcode; add testsuites 2008-07-28 23:17:31 +00:00
while2.right hush: fix a bunch of obscure while/until/continue bugs 2009-04-06 18:08:35 +00:00
while2.tests make hush-misc/*.tests executable 2009-04-06 18:10:20 +00:00
while_in_subshell.right hush: fix a bug where we were requiring semicolon here: (cmd;) 2008-06-14 17:13:20 +00:00
while_in_subshell.tests hush: fix a bug where we were requiring semicolon here: (cmd;) 2008-06-14 17:13:20 +00:00