<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/busybox/shell/hush_test/hush-psubst, branch master</title>
<subtitle>Busybox tree with Carbs Linux patches
</subtitle>
<id>https://git.carbslinux.org/forks/busybox/atom?h=master</id>
<link rel='self' href='https://git.carbslinux.org/forks/busybox/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/'/>
<updated>2020-10-24T01:33:32+00:00</updated>
<entry>
<title>hush: do not print killing signal name in `cmd_whihc_dies_on_signal`</title>
<updated>2020-10-24T01:33:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-10-24T01:33:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=b65d6cb00fa0ea51bac4c4e62b576b43ae2c996b'/>
<id>urn:sha1:b65d6cb00fa0ea51bac4c4e62b576b43ae2c996b</id>
<content type='text'>
function                                             old     new   delta
process_wait_result                                  438     449     +11

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: expand: Fix trailing newlines processing in backquote expanding</title>
<updated>2020-02-17T09:24:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-17T09:24:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=9ee5892798be81f7a6f3e070ecd52cbf0d55740e'/>
<id>urn:sha1:9ee5892798be81f7a6f3e070ecd52cbf0d55740e</id>
<content type='text'>
Upstream commit:

    Date: Mon, 29 Apr 2019 19:13:37 +0500
    expand: Fix trailing newlines processing in backquote expanding

    According to POSIX.1-2008 we should remove newlines only at the end of
    the substitution. Newlines-only substitions causes dash to remove
    newlines before beggining of the substitution. The following code:

        cat &lt;&lt;END
        1
        $(echo "")
        2
        END

    prints "1&lt;newline&gt;2" instead of expected "1&lt;newline&gt;&lt;newline&gt;2".

    This patch fixes trailing newlines processing in backquote expanding.

    Signed-off-by: Nikolai Merinov &lt;n.merinov@inango-systems.com&gt;
    Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix a few more corner cases with empty-expanding `cmds`</title>
<updated>2018-04-05T13:15:53+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-04-05T13:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=21b7f1b6b67f191ca187910a5fd4cd2cb1eb5353'/>
<id>urn:sha1:21b7f1b6b67f191ca187910a5fd4cd2cb1eb5353</id>
<content type='text'>
See added testcases

function                                             old     new   delta
run_pipe                                            1723    1784     +61

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix handling of \" in quoted/unquoted `cmd`</title>
<updated>2010-09-12T13:05:39+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>dvlasenk@redhat.com</email>
</author>
<published>2010-09-12T13:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=acd5bc8f649fad335d80c5289512b404f08ac8e2'/>
<id>urn:sha1:acd5bc8f649fad335d80c5289512b404f08ac8e2</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;dvlasenk@redhat.com&gt;
</content>
</entry>
<entry>
<title>hush: fix var=`exit 2` not setting $? to 2</title>
<updated>2010-05-20T12:27:09+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-05-20T12:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=cddbb610cb0ea8d74668653aeaded710d2d13768'/>
<id>urn:sha1:cddbb610cb0ea8d74668653aeaded710d2d13768</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix exit code propagation from `cmd`. +45 bytes</title>
<updated>2009-11-16T01:00:03+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-11-16T01:00:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=00243b0a1aa7149660e52e748b82a14e5e818150'/>
<id>urn:sha1:00243b0a1aa7149660e52e748b82a14e5e818150</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: wait for `cmd` to complete, and immediately store its exitcode in $?</title>
<updated>2009-11-15T18:58:19+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-11-15T18:58:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=647553a4fcbbc169b4390d9ef8e4657f0ffe1a5f'/>
<id>urn:sha1:647553a4fcbbc169b4390d9ef8e4657f0ffe1a5f</id>
<content type='text'>
function                                             old     new   delta
expand_vars_to_list                                 2129    2197     +68

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix handling of empty arguments</title>
<updated>2009-10-18T09:46:35+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-10-18T09:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=f37eb3999bce2ea46fef0214e33279b81609e596'/>
<id>urn:sha1:f37eb3999bce2ea46fef0214e33279b81609e596</id>
<content type='text'>
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 &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: handle empty execs</title>
<updated>2009-10-18T05:15:36+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-10-18T05:11:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=28736c36ca6a73864324296117ce26c9a23066dd'/>
<id>urn:sha1:28736c36ca6a73864324296117ce26c9a23066dd</id>
<content type='text'>
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 &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>skip some tests when fancy echo support is turned off</title>
<updated>2009-04-09T07:50:18+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-04-09T07:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=327fd47f362843fc62fbee6169904c416ca13d11'/>
<id>urn:sha1:327fd47f362843fc62fbee6169904c416ca13d11</id>
<content type='text'>
</content>
</entry>
</feed>
