aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ash: fix obscure case of replacing + globbing + backslashesDenys Vlasenko2010-06-262-0/+31
| | | | | | | | | | | | | | | function old new delta subevalvar 1152 1178 +26 readtoken1 3267 3275 +8 redirect 1284 1286 +2 expandarg 957 958 +1 expdir 4 - -4 evalcommand 1219 1209 -10 expmeta 481 469 -12 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/2 up/down: 37/-26) Total: 11 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: <> redir should not truncateAndreas Bühmann2010-06-242-0/+6
| | | | | Signed-off-by: Andreas Bühmann <buehmann@users.berlios.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix unset in standalone modeDenys Vlasenko2010-06-182-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix redirection of fd 0 in scripts are sourced from interactive ashDenys Vlasenko2010-06-032-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix var_leak.tests so that it actually catches the NOFORK bugDenys Vlasenko2010-05-182-1/+7
| | | | | | + document the bug better Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix bug which causes signal6.tests to failDenys Vlasenko2010-05-181-1/+0
| | | | | | | | function old new delta trapcmd 271 277 +6 localcmd 277 275 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix var_leak testcaseDenys Vlasenko2010-05-182-6/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix testsuite false positivesDenys Vlasenko2010-05-183-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix ". empty_file" exitcode. +5 bytesDenys Vlasenko2010-05-171-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix false positive in signal5.testsDenys Vlasenko2010-05-172-5/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add two more tests which currently failDenys Vlasenko2010-05-172-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix signal5.testsDenys Vlasenko2010-05-171-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: add two testcases for (not yet fixed) ash bugsDenys Vlasenko2010-05-174-0/+31
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: trap with bad signal name should not abortDenys Vlasenko2010-03-262-0/+9
| | | | | | | function old new delta trapcmd 236 271 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bug 1087. Fix by Leonid (lly.dev AT gmail.com)Denys Vlasenko2010-02-212-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: split read builtin from ashDenys Vlasenko2010-01-122-0/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix for read $IFS splitting. Closes bug 235Denys Vlasenko2010-01-082-14/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* laguage and copyright date corrections, no code changesDenys Vlasenko2009-10-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: make one testsuite entry more robustDenys Vlasenko2009-10-091-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: make trap output short signal names, without SIG prefixDenys Vlasenko2009-09-272-8/+8
| | | | | | | | | function old new delta evalvar 1373 1371 -2 builtin_trap 457 441 -16 trapcmd 260 236 -24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: better handling of EXIT trap in `trap` hackDenys Vlasenko2009-09-252-2/+10
| | | | | | | | | | | | | | function old new delta forkchild - 602 +602 trapcmd 255 347 +92 ash_main 1362 1375 +13 evalvar 1371 1373 +2 popstring 140 134 -6 forkshell 835 248 -587 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/2 up/down: 709/-593) Total: 116 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix `trap`Denys Vlasenko2009-09-233-5/+14
| | | | | | | | | | | | function old new delta forkshell 738 810 +72 popstring 134 140 +6 parse_command 1460 1463 +3 evalvar 1373 1371 -2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 81/-2) Total: 79 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add a testcase for reopened bug 585 (not fixed yet)Denys Vlasenko2009-09-163-1/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: add testsuite for bug 585Denys Vlasenko2009-08-292-0/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix . builtinDenys Vlasenko2009-06-143-1/+8
| | | | | | Also, move [[ ]] comment to test.c and expand it Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix $IFS handling in read. closes bug 235Denis Vlasenko2009-03-312-0/+14
|
* ash: better fix for ash -c 'echo 5&' and ash -c 'sleep 5&'Denis Vlasenko2008-11-282-0/+10
| | | | | with testcase
* ash: add testcase for bug 5304Denis Vlasenko2008-10-272-0/+15
|
* dc: conditionalize parts which require libmDenis Vlasenko2008-10-202-0/+4
|
* ash: fix NOEXEC mode - we were forgetting to pass environment!Denis Vlasenko2008-10-202-0/+5
| | | | | | env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
* ash: fix a bug in standalone mode (corrupted getopt() state)Denis Vlasenko2008-10-202-0/+7
|
* ash: fix "(cat < file)" hang introduced by rev 22944.Denis Vlasenko2008-08-162-0/+5
|
* ash: bash compat: "shift $BIGNUM" is equivalent to "shift 1"Denis Vlasenko2008-07-302-0/+19
|
* ash: add slightly different testcaseDenis Vlasenko2008-07-264-2/+23
|
* ash: fix testcase to not sleep for whole 10 seconds,Denis Vlasenko2008-07-262-12/+11
| | | | | gets annoying pretty fast. Also fix wrong message there.
* ash: hopefully close bug 4324. With testcase.Denis Vlasenko2008-07-262-0/+21
| | | | | | | function old new delta evaltree 621 869 +248 popstring 134 140 +6
* ash: testsuite entries for last changeDenis Vlasenko2008-07-252-0/+5
|
* ash: prevent exec NN>&- from closing fd used for script readingDenis Vlasenko2008-07-242-0/+73
|
* ash: fix a bug where redirection fds were not closed afterwards.Denis Vlasenko2008-07-245-2/+16
| | | | | | | | | | | | | optimize close+fcntl(DUPFD) into dup2. add testsuites. function old new delta copyfd 47 68 +21 argstr 1311 1298 -13 popredir 148 131 -17 redirect 1139 1107 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 21/-62) Total: -41 bytes
* ash: optional support for $'...\t...\n...' bashismDenis Vlasenko2008-06-232-0/+16
| | | | | | | | | | | function old new delta readtoken1 2824 3172 +348 static.C_escapes - 18 +18 parse_command 1504 1500 -4 SIT 89 83 -6 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/2 up/down: 366/-10) Total: 356 bytes
* ash: fix ${var/s/r} handling, add testcase.Denis Vlasenko2008-06-142-0/+61
|
* ash testsuite: modify it so that it can run hush and msh testsDenis Vlasenko2008-06-051-3/+11
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-193-5/+5
|
* ash: add another testsuite entry ("leaking variables" bug)Denis Vlasenko2008-04-132-0/+11
|
* ash: a bit more complete POSIX subst testsuite entryDenis Vlasenko2008-04-122-2/+17
|
* ash: add testsuite entry for POSIX-mandated ${var#word} ${var##word}Denis Vlasenko2008-04-122-0/+23
| | | | | ${var%word} ${var%%word}
* ash: support for && and || in [[ expr ]]; add testsuite checksDenis Vlasenko2008-03-256-0/+73
|
* ash: add read -u; fix read -t and read -n; add testsuite entries.Denis Vlasenko2008-03-256-0/+24
|
* ash: handle "A=1 A=2 B=$A; echo $B". closes bug 947.Denis Vlasenko2008-02-155-1/+23
|
* reinstate redir.tests with correct permsDenis Vlasenko2008-02-131-0/+6
|