<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/busybox/shell/ash_test, 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>2021-01-09T07:46:54+00:00</updated>
<entry>
<title>ash: match bash behavior for ${empty_var/*/repl}</title>
<updated>2021-01-09T07:46:54+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-01-09T07:46:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=2b7c1aa92c68524559a2067609d09309d5c09adc'/>
<id>urn:sha1:2b7c1aa92c68524559a2067609d09309d5c09adc</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: fix ${unset_var/pattern/repl}</title>
<updated>2021-01-09T07:27:37+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-01-09T07:27:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=883cdb79a440d0425766f67aaef0cabde0a5060e'/>
<id>urn:sha1:883cdb79a440d0425766f67aaef0cabde0a5060e</id>
<content type='text'>
function                                             old     new   delta
subevalvar                                          1349    1353      +4

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