aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* hush: fix "while false; ..." exitcode; add testsuitesDenis Vlasenko2008-07-284-0/+21
|
* hush: support "break N" and "continue N"Denis Vlasenko2008-07-286-0/+18
| | | | | | | | | | | | | | | 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
* hush: finish and enable optional case...esac support. Code size cost:Denis Vlasenko2008-07-282-0/+30
| | | | | | | | | | | | | | | | 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
* hush: support "for if in do done then; do echo $if; done" caseDenis Vlasenko2008-07-062-0/+6
| | | | | | | | | | 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
* hush: support "for v; do ... done" syntax (implied 'in "$@"')Denis Vlasenko2008-07-052-0/+10
|
* hush: fix a case where "$@" must expand to no word at allDenis Vlasenko2008-07-052-0/+16
|
* cosmetics in hush testsuitesDenis Vlasenko2008-06-182-3/+1
|
* fix globbing in unquoted $* and $@Denis Vlasenko2008-06-182-0/+14
|
* hush: add testsuite for "no globbing in redirection" rule.Denis Vlasenko2008-06-186-0/+51
| | | | | simplify redirection habdling
* hush: expand quote3.tests and move from hush-bugs to hush-parsingDenis Vlasenko2008-06-184-11/+33
|
* hush: fix $$ handlingDenis Vlasenko2008-06-172-0/+2
|
* hush: fix "for a in; do echo 'I should never run'; done" bugDenis Vlasenko2008-06-172-0/+0
|
* move glob_and_assign.tests from hush-bugs to hush-globDenis Vlasenko2008-06-172-0/+0
|
* hush: continue fixing quoting and subst: fix glob_and_assign.tests.Denis Vlasenko2008-06-173-19/+24
|
* hush: delete hush-bugs/glob_and_vars.tests for realDenis Vlasenko2008-06-161-2/+0
|
* hush: fix hush-bugs/glob_and_vars.tests testcase:Denis Vlasenko2008-06-165-1/+7
| | | | | | | | | | | | | | globbing is now done _after_ variable/`cmd` substitution function old new delta expand_strvec_to_strvec 7 353 +346 expand_variables 1348 1383 +35 add_string_to_strings - 28 +28 globhack 114 - -114 done_word 778 579 -199 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/1 up/down: 409/-313) Total: 96 bytes
* hush: fix a bug where we were requiring semicolon here: (cmd;)Denis Vlasenko2008-06-143-2/+1
| | | | | | | | | | | 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
* hush: add support for ':'; create testsuite entriesDenis Vlasenko2008-06-149-5/+17
| | | | | | | text data bss dec hex filename 809569 612 7044 817225 c7849 busybox_old 809528 612 7044 817184 c7820 busybox_unstripped
* hush: support "! cmd | cmd" negationDenis Vlasenko2008-06-145-2/+57
| | | | | | | | | | | | | 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
* hush: fix for nested $()s with escapes + testsuiteDenis Vlasenko2008-06-123-1/+14
|
* hush: more backtick and quoting fixes...Denis Vlasenko2008-06-102-0/+17
|
* hush: fix escaping of \[*?; add testsuites for these and for globbingDenis Vlasenko2008-06-106-0/+20
|
* hush: fix yet another falloutDenis Vlasenko2008-06-104-1/+0
| | | | | hush: move fixed testsuites out of hush-bugs/*
* hush: fix some fallout from prev commits, add testsuiteDenis Vlasenko2008-06-102-0/+10
|
* hush: add yet another bug to testsuite :(Denis Vlasenko2008-06-082-0/+7
|
* msh: create testsuite (based on hush one)Denis Vlasenko2008-03-021-0/+3
| | | | | hush: add TODO (doesn't know ":" command)
* hush: small fixes to docs/testsuiteDenis Vlasenko2008-02-101-1/+1
|
* hush: reinstate `cmd` handling for NOMMU (with fat big warning).Denis Vlasenko2008-02-102-1/+23
| | | | | | | | | | hush: fix a case where none of pipe members could be started because of fork failure hush: rename functions: xxx_real -> xxx hush: try to add a bit more of vfork-friendliness hush: add rudimentary design docs hush: add TODO (newly discovered bug with globbing)
* add expected outputMike Frysinger2007-12-251-0/+2
|
* hush: fix $ expansion in redirections, add testcase for thatDenis Vlasenko2007-11-233-0/+17
|
* hush: plug memory leakDenis Vlasenko2007-11-232-17/+40
|
* hush: fix read builtin to not read ahead past eol and to not useDenis Vlasenko2007-06-132-0/+8
| | | | | insane amounts of stack. Testsuite updated.
* hush: rework variable storage and environment handling.Denis Vlasenko2007-05-252-0/+71
| | | | | | More that -100 bytes of code + memory leak plugged. Added a testcase for it.
* hush: improve 2 testsuite testsDenis Vlasenko2007-05-244-2/+17
|
* hush: add 2 tests for correct syntax error reportingDenis Vlasenko2007-05-242-0/+2
|
* hush: make syntax error messages a bit more usefulDenis Vlasenko2007-05-232-0/+0
|
* hush: prepare testsuite for new, fixed error message formatDenis Vlasenko2007-05-231-1/+1
|
* hush: fix job control with eval /bin/external_progDenis Vlasenko2007-05-232-0/+3
| | | | | | hush: fix parsing of unterminated "str with no EOL hush: improved make_string() (smaller, faster, needs less RAM) hush: renamed several functions
* hush: fix a bit different instance of "No EOL" bug,Denis Vlasenko2007-05-234-2/+11
| | | | add testsuite for that. Expand another testsuite.
* fix execute bit on hush-misc/shift.testsDenis Vlasenko2007-05-231-0/+0
|
* shells: update README and testsuite. environment memory leakDenis Vlasenko2007-05-212-0/+2
| | | | needs to be fixed - and documented!
* hush: fix shift + $0 bug; add testcaseDenis Vlasenko2007-05-202-0/+8
|
* hush: make process substitution configurable; add a testcaseDenis Vlasenko2007-05-202-0/+4
|
* hush: fix expansion of quoted $VAR, $* and $@Denis Vlasenko2007-05-168-14/+19
|
* hush: fix incorrect processing of echo "'$var'".Denis Vlasenko2007-05-162-0/+0
| | | | | | hush: rename map[] and MAP_xxx, making them easier to understand. hush: move testcase (which now passes) from hush-bugs to hush-parsing
* hush: move testsuite files from hush-bugs to hush-parsingDenis Vlasenko2007-05-144-0/+0
| | | | (as these bugs are now fixed)
* hush: more fixes to variable expansion, more testcasesDenis Vlasenko2007-05-144-0/+20
|
* hush: move towards more correct variable expansionDenis Vlasenko2007-05-144-0/+100
| | | | | hush: fix a few cases in FOR v IN ... construct unfortunately, code growth is big - ~600 bytes
* hush: fix '{ false; echo $?; }' bug.Denis Vlasenko2007-05-1312-2/+30
| | | | | hush: expand testsuite. variable expansion is still very broken
* hush: reinstate hush_test, add testcases for process substDenis Vlasenko2007-05-117-0/+80
|