summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc
AgeCommit message (Collapse)Author
2008-08-04hush: fix mishandling of a'b'c=fff as assignments. They are not.Denis Vlasenko
function old new delta parse_stream 1920 2004 +84 done_word 715 752 +37 parse_and_run_stream 328 333 +5 builtin_exec 25 29 +4 pseudo_exec_argv 138 139 +1 run_list 2006 1999 -7 is_assignment 215 134 -81 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/2 up/down: 131/-88) Total: 43 bytes
2008-07-31hush: fix "case ... in <newline> word)..."Denis Vlasenko
2008-07-29hush: small fix for repeated continue and fix for wrong loop depth countDenis Vlasenko
after Ctrl-C; with testcase for first one
2008-07-29hush: fix break'ing out of {} and () groups; with testcaseDenis Vlasenko
function old new delta builtin_break 93 129 +36 builtin_continue 21 47 +26 run_list 1973 1976 +3
2008-07-29hush: add #defines to switch off break/continue if loops are not supportedDenis Vlasenko
*: remove a few inline keywords no code changes
2008-07-28hush: fix "while false; ..." exitcode; add testsuitesDenis Vlasenko
2008-07-28hush: support "break N" and "continue N"Denis Vlasenko
fix non-detection of builtins and applets in "v=break; ...; $v; ..." case add testsuite entries for the above function old new delta builtin_break 12 93 +81 run_list 1948 1971 +23 builtin_continue 12 21 +9 pseudo_exec_argv 132 138 +6 builtin_exec 23 25 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/0 up/down: 121/0) Total: 121 bytes
2008-07-28hush: finish and enable optional case...esac support. Code size cost:Denis Vlasenko
function old new delta run_list 1891 2075 +184 parse_stream 1764 1847 +83 expand_strvec_to_string - 83 +83 done_word 647 715 +68 static.reserved_list 144 168 +24 static.reserved_match - 12 +12 done_pipe 95 105 +10 builtin_exit 48 46 -2 builtin_eval 127 54 -73 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 5/2 up/down: 464/-75) Total: 389 bytes
2008-07-06hush: support "for if in do done then; do echo $if; done" caseDenis Vlasenko
function old new delta done_pipe 83 95 +12 parse_stream 1758 1764 +6 done_word 674 647 -27 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 18/-27) Total: -9 bytes
2008-07-05hush: support "for v; do ... done" syntax (implied 'in "$@"')Denis Vlasenko
2008-06-17hush: fix $$ handlingDenis Vlasenko
2008-06-17hush: fix "for a in; do echo 'I should never run'; done" bugDenis Vlasenko
2008-06-14hush: fix a bug where we were requiring semicolon here: (cmd;)Denis Vlasenko
also fix a bug where after error prompt is not shown. function old new delta parse_stream 1612 1638 +26 parse_and_run_stream 361 375 +14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0) Total: 40 bytes
2008-06-14hush: add support for ':'; create testsuite entriesDenis Vlasenko
text data bss dec hex filename 809569 612 7044 817225 c7849 busybox_old 809528 612 7044 817184 c7820 busybox_unstripped
2008-06-14hush: support "! cmd | cmd" negationDenis Vlasenko
function old new delta done_word 749 791 +42 run_list 1821 1859 +38 checkjobs 334 351 +17 done_pipe 61 74 +13 static.reserved_list 132 144 +12 initialize_context 53 45 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/1 up/down: 122/-8) Total: 114 bytes
2007-06-13hush: fix read builtin to not read ahead past eol and to not useDenis Vlasenko
insane amounts of stack. Testsuite updated.
2007-05-24hush: improve 2 testsuite testsDenis Vlasenko
2007-05-24hush: add 2 tests for correct syntax error reportingDenis Vlasenko
2007-05-23fix execute bit on hush-misc/shift.testsDenis Vlasenko
2007-05-20hush: fix shift + $0 bug; add testcaseDenis Vlasenko