aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hush: fix exit code propagation from `cmd`. +45 bytesDenys Vlasenko2009-11-162-8/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: wait for `cmd` to complete, and immediately store its exitcode in $?Denys Vlasenko2009-11-152-0/+2
| | | | | | | function old new delta expand_vars_to_list 2129 2197 +68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix handling of empty argumentsDenys Vlasenko2009-10-182-4/+11
| | | | | | | | | | | | function old new delta builtin_exec 25 83 +58 parse_stream 2242 2261 +19 run_pipe 1782 1787 +5 static.pseudo_null_str - 3 +3 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 85/0) Total: 85 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: handle empty execsMike Frysinger2009-10-182-0/+30
| | | | | | | | Sometimes variable expansions yield empty strings, and if they happen to be a command someone wants to run like `$foo`, then hush currently segfaults. So handle `` and $(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* skip some tests when fancy echo support is turned offMike Frysinger2009-04-091-0/+2
|
* hush: more rodust detection of unterminated strings etc;Denis Vlasenko2009-04-082-0/+10
| | | | | | | | | | | | | | | | | fix a case where we forget to copy `cmd` text; optimize nommu heredoc helper by not passing environment to it; add several tests function old new delta add_till_closing_paren 256 308 +52 parse_stream 2337 2378 +41 add_till_backquote 82 111 +29 re_execute_shell 269 284 +15 handle_dollar 802 812 +10 parse_stream_dquoted 316 320 +4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/0 up/down: 151/0) Total: 151 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 yet another falloutDenis Vlasenko2008-06-104-0/+12
hush: move fixed testsuites out of hush-bugs/*