aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-psubst
AgeCommit message (Collapse)Author
2010-09-12hush: fix handling of \" in quoted/unquoted `cmd`Denys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-05-20hush: fix var=`exit 2` not setting $? to 2Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-16hush: fix exit code propagation from `cmd`. +45 bytesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-15hush: wait for `cmd` to complete, and immediately store its exitcode in $?Denys Vlasenko
function old new delta expand_vars_to_list 2129 2197 +68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-18hush: fix handling of empty argumentsDenys Vlasenko
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>
2009-10-18hush: handle empty execsMike Frysinger
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>
2009-04-09skip some tests when fancy echo support is turned offMike Frysinger
2009-04-08hush: more rodust detection of unterminated strings etc;Denis Vlasenko
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
2008-06-12hush: fix for nested $()s with escapes + testsuiteDenis Vlasenko
2008-06-10hush: more backtick and quoting fixes...Denis Vlasenko
2008-06-10hush: fix yet another falloutDenis Vlasenko
hush: move fixed testsuites out of hush-bugs/*