<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/busybox/shell/ash_test, branch v1.33.0</title>
<subtitle>Busybox tree with Carbs Linux patches
</subtitle>
<id>https://git.carbslinux.org/forks/busybox/atom?h=v1.33.0</id>
<link rel='self' href='https://git.carbslinux.org/forks/busybox/atom?h=v1.33.0'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/'/>
<updated>2020-12-25T18:08:16+00:00</updated>
<entry>
<title>typo fix</title>
<updated>2020-12-25T18:08:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-25T18:08:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=cad20ced8603f2d4c1ff13fbf01cdccc9cb1b7aa'/>
<id>urn:sha1:cad20ced8603f2d4c1ff13fbf01cdccc9cb1b7aa</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix this case: echo "SCRIPT" | hush</title>
<updated>2020-12-25T18:01:49+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-25T18:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=1237d627e9fd996cc3d96ba72629371739fef776'/>
<id>urn:sha1:1237d627e9fd996cc3d96ba72629371739fef776</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: output bash-compat killing signal names</title>
<updated>2020-10-24T02:26:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-10-24T02:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=e16f7eb5967b9a960f4600c20690af63fb830b60'/>
<id>urn:sha1:e16f7eb5967b9a960f4600c20690af63fb830b60</id>
<content type='text'>
This significantly syncronises ash-signals and hush-signals tests.

function                                             old     new   delta
process_wait_result                                  449     450      +1

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: add testsuite for "wait $pid" waiting for other tasks</title>
<updated>2020-09-29T20:36:36+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-09-29T20:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=d4dd48f2948b006f4ccb7cc2b603fb3d00f90685'/>
<id>urn:sha1:d4dd48f2948b006f4ccb7cc2b603fb3d00f90685</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: Fix "read -d ''" behavior</title>
<updated>2020-07-31T16:42:30+00:00</updated>
<author>
<name>Christian Eggers</name>
<email>ceggers@arri.de</email>
</author>
<published>2020-06-29T15:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=39925026f6857979cbe603efd42073eb63f8d9de'/>
<id>urn:sha1:39925026f6857979cbe603efd42073eb63f8d9de</id>
<content type='text'>
With bash's read builtin it is possible to read from a file (e.g.
device-tree) until the first '\0' character:

IFS= read -r -d '' VARIABLE &lt; file

In busybox ash the -d extension is also implemented, but checking the
read character for '\0' has to be performed after comparing with the
delimiter.

Signed-off-by: Christian Eggers &lt;ceggers@arri.de&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shells: fix exitcode_trapN tests to avoid races</title>
<updated>2020-02-26T08:05:52+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-26T08:05:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=9aa751b08ab03d6396f86c3df77937a19687981b'/>
<id>urn:sha1:9aa751b08ab03d6396f86c3df77937a19687981b</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: Expand here-documents in the current shell environment</title>
<updated>2020-02-22T19:29:36+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-22T19:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=c2058ec98cf3f6722be4436cae07a386e3c7b48d'/>
<id>urn:sha1:c2058ec98cf3f6722be4436cae07a386e3c7b48d</id>
<content type='text'>
Upstream commit:

    Date: Sun, 11 Nov 2007 15:27:00 +0800
    Expand here-documents in the current shell environment

    Previously we always expanded here-documents in a subshell.  This is
    contrary to the POSIX specification and how other shells behave.  What's
    more this slows down many expansions due to the extra fork (however, it
    must be said that it is possible for it speed up certain expansions by
    running it simultaneously with the command on two CPUs).

    This patch move the expansion into the current shell environment.

    Test case:

            unset a
            cat &lt;&lt;- EOF &gt; /dev/null
                    ${a=NOT}
            EOF
            echo ${a}BAD

    Old result:

            BAD

    New result:

            NOTBAD

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: expand: Ensure result is escaped in cvtnum</title>
<updated>2020-02-21T15:30:44+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-21T15:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=45dd87aac05ddf8bbfb110fde85ef875f3adfb65'/>
<id>urn:sha1:45dd87aac05ddf8bbfb110fde85ef875f3adfb65</id>
<content type='text'>
Upstream commit:

    Date: Fri, 1 Jun 2018 18:25:29 +0800
    expand: Ensure result is escaped in cvtnum

    The minus sign generated from arithmetic expansion is currently
    unquoted which causes anomalies when the result is used in where
    the quoting matters.

    This patch fixes it by explicitly calling memtodest on the result
    in cvtnum.

    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: make "exit" in trap use pre-trap exitcode - fix for nested trap</title>
<updated>2020-02-21T01:55:53+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-21T01:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=3ced804e3118d138781c3e4baa6bf1589b9f2dfd'/>
<id>urn:sha1:3ced804e3118d138781c3e4baa6bf1589b9f2dfd</id>
<content type='text'>
function                                             old     new   delta
check_and_run_traps                                  276     278      +2

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: implement "return NUM in trap sets $? after trap"</title>
<updated>2020-02-20T15:37:59+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-20T15:37:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=bb095f483827567452ee3501779a84f36719288d'/>
<id>urn:sha1:bb095f483827567452ee3501779a84f36719288d</id>
<content type='text'>
function                                             old     new   delta
builtin_return                                        47      67     +20
check_and_run_traps                                  243     259     +16
run_pipe                                            1583    1597     +14
hush_main                                           1076    1086     +10
run_list                                            1054    1055      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 61/0)               Total: 61 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
